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

Cursor does not stay in sync with content, when moving vertically without letting go - on some websites - maybe unfixable #44

Open
jimitirimi opened this issue Aug 15, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@jimitirimi
Copy link

Describe the bug - A clear and concise description of what the bug is.
When holding and moving up/down (without letting go), the cursor moves upwards ever so slightly faster than the content, putting them out of sync. Bringing your cursor back to the same position does not bring back the content at the same position.

Steps To Reproduce - Steps to reproduce the behavior:
0. Open the browser full-screen or snapped to the side.

  1. Open https://duckduckgo.com/?q=test
  2. Scroll to the very bottom and load more results; repeat 3-4 times.
  3. Scroll back up about half way the new height. (This is to not skew our movement).
  4. Grab from about three quarters down on the viewport and move up to about one quarter of the viewport, without letting go, and then bring back your cursor to roughly where you started three quarters down.
  5. Repeat the above 5-6 times, still holding the click and not letting go.
  6. You will see how the content/search results gradually shift downwards and out of view, even though you are roughly moving your cursor up and down the same distance.

Expected behavior - A clear and concise description of what you expected to happen.
Ideally you want that the cursor remain anchored at the same vertical position as where you initially grabbed the webpage.
e.g. You want to keep your cursor on a search result, but thought you may have seen something better above; you want to have a quick look but without "lifting your finger" off the originally intended search result below.

Device info:

  • operating system: Win 10, v21H1
  • Browser and version: (Chromium) MS Edge Dev, v94.0
  • addon version: ScrollAnywhere, v8.7

Additional info - Add any other info about the problem here.

  1. Unfixable? - Maybe it's a consequence of the free internet, that sticky/floating headers interfere with the calculations of movement.

  2. An example of where the out-of-sync does not happen is the website Medium - https://adiamaan.medium.com/best-practices-for-setting-up-a-python-environment-d4af439846a

  3. Unrelated Simile - This issue I mention is similar to something that I've observed that differentiates touch scrolling on iOS versus Android. Open the Contacts app on either, scroll to about half way, place your finger on a contact and without letting go move your finger quickly up and down without exceeding the limits of the screen; when you stop, on iOS your finger will be on the same contact but on many (especially older) Android phones your finger will be on a completely different contact (as if some "momentum" shifted the list even though you never let go nor your finger left the screen). On these 2 mobile platforms, the same happens when using their native browser; for iOS Safari, no matter what website, your finger seems to keep the content at the same point, but Chrome/Samsung internet often is out of sync. (Maybe because Safari seems to "freeze an image" rather than actually interacting with the webpage, until you lift your finger and movement finishes?).

Sorry for the long ticket, I didn't know how to describe more succinctly, but hope it's understandable.
Thank you for taking a look!

@jimitirimi jimitirimi added the bug Something isn't working label Aug 15, 2021
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

1 participant