Skip to content
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

Selection area grows faster than scrolling #190

Closed
dmytro-shapovalov opened this issue Jan 3, 2023 · 5 comments
Closed

Selection area grows faster than scrolling #190

dmytro-shapovalov opened this issue Jan 3, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@dmytro-shapovalov
Copy link

dmytro-shapovalov commented Jan 3, 2023

What is the problem?

Selection area grows faster than scrolling.

What is the current behavior?

When trying to drag selection-area beyond boundaries to initiate scroll, the area doesn't stick to a point in the scrolled content, but grows and gets bigger and bigger.

Please provide the steps to reproduce and create a CodeSandbox.

  1. Go to https://simonwep.github.io/selection/.
  2. Scroll down to the last example.
  3. Start selecting selectables.
  4. Drag the selection-area to the bottom border so that the content starts to scroll.
  5. Observe that upper border of the selection-area moves faster than the scrolled content.

What is the expected behavior?

Upper border stays always at the same point relative to the content.

Your environment:

OS: Windows 10
Browser: Chrome, Firefox, latest versions
Environment: Official demo website (https://simonwep.github.io/selection/)
@dmytro-shapovalov dmytro-shapovalov added the unconfirmed Problem is not confirmed yet label Jan 3, 2023
@dmytro-shapovalov
Copy link
Author

2023-01-04-00-12-02

@simonwep simonwep added bug Something isn't working and removed unconfirmed Problem is not confirmed yet labels Jan 4, 2023
@simonwep
Copy link
Owner

simonwep commented Jan 4, 2023

Seems to be broken as of the latest minor version... I'll fix it this weekend! :)

@simonwep
Copy link
Owner

simonwep commented Jan 4, 2023

Okay, this was caused by the bug-fix for safari in #140 - should now work in all browsers equally good 😅 I'll release a new version in the upcoming days (there is yet another issue I wan't to fix before publishing a new patch release)

@dmytro-shapovalov
Copy link
Author

Wow! That was fast 😎!
Thanks!

@simonwep
Copy link
Owner

simonwep commented Jan 6, 2023

Version 3.2.4 is out with a fix for this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants