You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you enter full-screen mode with the ai-chat and position the mouse pointer either left or right of the chat container and then try to scroll the chat vertically, it is not scrolled. It works as expected on the other hand, when the mouse pointer within the chat container, e.g. directly over any message of the chat.
The reason for that is, the chat container uses margin: auto to center itself. And the mouse input is not taken when the pointer is over those margins.
I see two solutions
Make it more obvious that the margins do not belong to the chat container so that a user is not expecting to have the chat container scrolled this way.
Have the chat container scrolled even with the mouse pointer over the margins. By using means other than margins I guess.
Reproduction/example
none.
Steps to reproduce
open ai-chat
make sure there is contents that allows for scrolling , e.g. by entering a few chat messages
enter full-screen
point your mouse either left or right of the chat container
Browser
Chrome, Safari, Firefox
Package version
0.15.0
React version
^1.66.0
Description
When you enter full-screen mode with the ai-chat and position the mouse pointer either left or right of the chat container and then try to scroll the chat vertically, it is not scrolled. It works as expected on the other hand, when the mouse pointer within the chat container, e.g. directly over any message of the chat.
The reason for that is, the chat container uses
margin: auto
to center itself. And the mouse input is not taken when the pointer is over those margins.I see two solutions
Reproduction/example
none.
Steps to reproduce
Suggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: