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

The Timeline doesn't change the active post at the correct scroll height on iOS when the URL bar is expanded #22

Open
camdendotlol opened this issue Dec 16, 2021 · 1 comment

Comments

@camdendotlol
Copy link
Collaborator

  1. Visit https://unitedfruitcompany.vercel.app/timeline on an iPhone using Safari.
  2. Scroll down several items.
  3. Scroll up a little bit to expand the URL bar.
  4. The detection of which post is active is skewed, so the test labels appear directly in the middle of the screen instead of fading in on entry.
  5. The calculation gets more skewed the farther down the screen you go.

4cc9cf5 helps with this issue by using screen.height on iOS devices, and might be tolerable as a permanent fix if time is short. I will see how bad it gets once more Timeline posts are added.

@camdendotlol
Copy link
Collaborator Author

Got it working satisfactorily on iOS with 646f0bf but it's still goofy on Android devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant