-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrolling error with suggested action cards #1660
Comments
Hi @mekinney, I haven't had a chance to investigate this issue yet. Could you elaborate on how the scrolling stops working? A video or gif would be very helpful too! |
Hi @mekinney - I wasn't able to reproduce your error. I did, however, notice when the SuggestedActions are displayed on the screen, the conversation div moves up to make room for the SuggestActions div. This would mean you have to move your mouse up onto the conversation div to scroll, but this doesn't sound like the error you described above. Can you please elaborate on the issue, and, as @corinagum mentioned, a video or a gif of the scroll behavior would be helpful. Thanks, TJ |
Attached Zip file has a video in it. I basically type menu to bring up the suggested actions. And then hit contact over and over. |
Hi @tdurnford, Best, |
Thanks for the response. FYI, the webchat code included with "https://webchat.botframework.com/embed..." doesn't have this bug. I'm not sure how the codebases are related, but thought might help track it down. |
Hi @mekinney. We have updated our scroll-to-bottom component in PR #1621 and PR #1725. Looks like the issue is fixed. Can you try our latest dev build and see if it repro? In your HTML file, modify the following line will use dev build. - <script src="https://cdn.botframework.com/botframework-webchat/latest/webchat.js"></script>
+ <script src="https://cdn.botframework.com/botframework-webchat/master/webchat.js"></script> We use |
Hi @compulim Thanks |
This change does fix my test harness. I'll push it to our main app and hopefully it will work there also. Thank you! |
@mekinney please let us know how it goes! |
@keshavnagpal yes, it should be on our development build at https://cdn.botframework.com/botframework-webchat/master/webchat-es5.js now. @mekinney thanks for your report. Please do let us know any further issues. We love to squash any bugs found. 💪 |
Sounds like this issue may be resolved so I'm going to close it -- @mekinney please feel free to get back to us with feedback or other questions you might have. I can always reopen this issue. :) |
This fix worked in our main code base also. Thank you. |
Selecting a suggested action prompt when the chat window is scrolled to the bottom, causes the window to stop scrolling correctly. Maybe I have the webchat CSS incorrectly setup, but it's pretty simple. Any help appreciated.
Update: Tested with both master and latest. Both have this problem.
Update #2: Once the webchat control is in the bugged state (not updating scrolling correctly), if the user types a message into the chat control, instead of hitting a suggested action button, the window scrolls correctly, and continues to scroll correctly using action buttons.
Web page:
The BOT side code is created by creating an EchoBot solution using Visual Studio 2017 and modifying OnTurnAsync as follows:
In the chat box type menu to bring up the selected actions, and then continuously select contact (or any of the suggested actions) over and over until the window needs to scroll. You'll see the error there.
It's interesting that the embedded web chat (https://webchat.botframework.com/embed...) doesn't have the scrolling error and instead doesn't handle a blank text field in a suggested action properly.
The text was updated successfully, but these errors were encountered: