@compulim: Please see "How to fix" below, https://github.com/microsoft/BotFramework-WebChat/issues/2031#issuecomment-510964209.
Feature request
I need to increase the timeout of the typing animation shown by the bot. Currently, the bot typing animation disappears after 2 sec or so. I need to increase to 6 sec. I tried following the approach of setting SendTimeout explicitly but it doesn't seem to work.
window.WebChat.renderWebChat({
directLine: window.WebChat.createDirectLine({
token: params['s'],
userID: params['username'],
user: {id: params['userid']},
}),
store, username: params['username'],
userID: params['userid'], **sendTimeout: 60000**,
styleSet,
sendTypingIndicator: true,
},
document.getElementById("webchat")
);
Any idea of how can I Increase the timeout for typing Animation.
(Edited by @compulim for code formatting)
Hi @mathurvarun84, the typing indicator is not currently customizable. After speaking with the team, we are interested in enabling users to modify the duration. This has been added to our backlog. Thank you!
Hi!
We need this feature too.
Thanks for your work on it.
Hi,
This would be very nice feature to have. Looking forward to it.
Hi
i changed this value (3e3) => (6e5)
search this text : ofType("Show_Typing").delay(3e3)
in this file
https://cdn.botframework.com/botframework-webchat/latest/botchat-es5.js
works for me
debounce in UI to control how long to show typingtypingIndicatorTimeout to styleOptionsstyleOptions.typingIndicatorTimeout to a bigger value should bring it backhttps://github.com/microsoft/BotFramework-WebChat/pull/2321 Added a typingAnimationDuration option to the default style options - default is 5000 milliseconds. This feature will be available in Web Chat's next release in October.
Most helpful comment
Hi!
We need this feature too.
Thanks for your work on it.