Bot Surveys and Data Forms: Display Timing and Layout Changes
Surveys and data-collection forms inside the chat widget now display more smoothly. If you have a bot with a "Request Data," "Set Data," pre-chat, or post-chat survey step, here's what to expect.
What Changed
1. Forms no longer hide the message above them. When a bot form (survey question, data field, checkbox) appeared, the chat window did not always scroll down, so the message right before it (for example, privacy-policy text before a consent checkbox) could be cut off above the fold. The widget now auto-scrolls to keep the latest message and the form visible together.
2. Forms wait half a beat before appearing. Previously a form could appear the instant the bot message finished, compressing the layout mid-read. There is now a 1.5-second pause before any bot form displays, so visitors have a moment to read the preceding message first.
3. Forms are shorter, and the message area no longer collapses. The maximum height of an inline form was reduced from 400px to 220px (still scrollable if the form is long), and the message list above it now keeps a 150px minimum height so a tall form can no longer squeeze prior messages out of view entirely.
4. No more jump when a chat moves from queue to survey to live chat. There was a 1-2px content-width shift when a visitor's session moved between the queue screen, a survey screen, and an active chat, because the survey panel was missing a scrollbar style that queue and chat already used (a gap dating back to 2021). Both now use the same scrollbar treatment, so there's no visible layout jump between states.
5. A failed survey submission no longer traps the visitor. If the post-chat survey's submit call failed (server error), the widget previously spun indefinitely with no way forward. It now detects the failure, shows the survey again, and lets the visitor retry.
How to Configure
Bot message speed (typing-delay between bot messages) is set per bot:
> Admin Console > Bots > VelaroBot > select your bot > Settings tab > Bot message speed
This is a slider/number field from 0 to 5 seconds in half-second increments, defaulting to 1 second. It controls the pause before each regular bot message appears (with the typing indicator, if enabled).
How to Test
- Open your site's live chat widget as a visitor (a private/incognito window is easiest so you don't inherit an existing session).
- Start a conversation that reaches a bot step with a data field, survey question, or checkbox form.
- Confirm: the preceding bot message is fully visible, then after roughly 1.5 seconds the form appears without hiding that message.
- If your bot flow queues before reaching an agent, confirm there's no visible layout jump as the chat moves from queue to survey/chat.
- If you use a post-chat survey, submit it normally and confirm it completes.
Was this article helpful?