chat-ui-kit-react icon indicating copy to clipboard operation
chat-ui-kit-react copied to clipboard

Scrollbar stays selected on phone mode

Open p-Jimenez opened this issue 2 years ago • 3 comments

When holding the MessageList scrollbar and realising it, when using Chrome DevTools to emulate phone behavior (or really, just on a phone), it's stuck like it's selected and when you try to scroll without pressing the scrollbar, it scrolls like it's being held.

It's nothing specific about the code, since it happens too on the Storybook https://chatscope.io/storybook/react/?path=/story/components-messagelist--scroll-to-bottom (try toggling de device toolbar, scrolling once by clicking the scrollbar and then scroll without the mousewheel by clicking and dragging)

p-Jimenez avatar May 03 '22 10:05 p-Jimenez

@p-Jimenez I'm not sure I fully understand the issue. Could you please provide a small screencast showing mentioned behavior?

supersnager avatar May 17 '22 09:05 supersnager

Sure, I hope this shows exactly what's happening. As it can be seen, once clicked it behaves like you are holding the scrollbar the whole time. Only happening on phone, desktop does not have this problem.

https://user-images.githubusercontent.com/55885320/169351121-cd21fe0c-52b6-49bc-ab56-1205da55de3e.mp4

p-Jimenez avatar May 19 '22 16:05 p-Jimenez

@p-Jimenez Thanks, I get it. I will try to investigate what's going on.

supersnager avatar May 20 '22 14:05 supersnager