Hi everyone,
I’m experiencing a delay in the render of the input chat field when using the @n8n/chat package in an embedded chat. It seems that the delay is caused by the loadPreviousSession
fetch action, which takes some time to complete before rendering the input field.
For this web project i’m using:
- React: ^18.3.1
- @n8n/chat: ^0.27.1
- Vite: ^6.0.1
Before fetch:
After fetch:
This is how the workflow looks like:
Has anyone encountered this issue before? Is there a way to speed up the input rendering or prevent it from waiting for loadPreviousSession
to complete? Any insights or workarounds would be greatly appreciated!
Thanks in advance!