Closed Xocial42 closed 9 months ago
I tried many times, but was unable to reproduce it on my end!
I tried many times, but was unable to reproduce it on my end!
It's hard to describe, but I'll do my best to explain it.
One way to reproduce it is to highlight both the text inside the scrollable object and the text beneath it. Then, when you attempt to hold and drag the scrollbar in any direction, the issue occurs: https://youtu.be/51Uxqz4WiiE
The first comment confused me since you started with this https://watch.whatever.social/watch?v=BiusoHK6KEg which seemed to be the correct behavior. sorry, @Xocial42, your steps and ordering of your wording was confusing. 😆
But after looking at your latest comment, it was more clear.
I can also replicate the actual, undesired behavior.
Step-by-step process to reproduce:
You have to have your cursor at the end of the word options
from Smooth scroll options
then drag to highlight the text.
Keep on dragging+highlighting text until you cover some of the lorem ipsum dummy lines.
Then release the mouse to stop dragging+highlighting.
Don't click on anything else after you stop dragging so you keep the highlighted texts.
Begin clicking on the scrollbar and then scroll horizontally.
You should see the cursor change to 'not-allowed' as well as the 'still highlighted text' to be dragged with the cursor as if its an image.
Then if you were to change tabs or (if you have another monitor) focus on another window, and you come back to the ngx-scroller site and assuming the highlighted text from the previous steps are still highlighted, you are still 'scrolling' even though your cursor isn't near the scrollbar.
Thanks @ysk3a. I was able to reproduce only when pointerEventsMethod="scrollbar"
but it works properly with pointerEventsMethod="viewport"
The first comment confused me since you started with this https://watch.whatever.social/watch?v=BiusoHK6KEg which seemed to be the correct behavior. sorry, @Xocial42, your steps and ordering of your wording was confusing. 😆 But after looking at your latest comment, it was more clear. I can also replicate the actual, undesired behavior.
Step-by-step process to reproduce: You have to have your cursor at the end of the word
options
fromSmooth scroll options
then drag to highlight the text. Keep on dragging+highlighting text until you cover some of the lorem ipsum dummy lines. Then release the mouse to stop dragging+highlighting. Don't click on anything else after you stop dragging so you keep the highlighted texts. Begin clicking on the scrollbar and then scroll horizontally. You should see the cursor change to 'not-allowed' as well as the 'still highlighted text' to be dragged with the cursor as if its an image.Then if you were to change tabs or (if you have another monitor) focus on another window, and you come back to the ngx-scroller site and assuming the highlighted text from the previous steps are still highlighted, you are still 'scrolling' even though your cursor isn't near the scrollbar.
NP, I am glad somebody makes it clear 😊 Thank you !
Fixed in v14
Reproduction
https://youtu.be/BiusoHK6KEg
Steps to reproduce:
Expected Behavior
When left mouse button is reeleased the scrollbar should stop moving.
Actual Behavior
The scrollbar never stops moving. Even if you go to another tab and back as you can see on this video. https://youtu.be/f_E94lbG8PA
Environment