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

fix: Ensure scroll to top on content change #152

Merged
merged 4 commits into from
Jan 29, 2024

Conversation

vinnyjth
Copy link
Member

🐛 Issue

https://3.basecamp.com/3926363/buckets/32694519/card_tables/cards/6979824029

✏️ Solution

Make sure, when navigating, that we are sent to the top of the change when moving between content items. We do this by scrolling the modal to the top every time the modal content changes.

🔬 To Test

  1. Open up any feed.
  2. Tap on any item that's a series
  3. Tap on any of the children / sibling items.

This may work for you on web-embeds.

http://localhost:3001/?id=jesus-gen-z-TWVkaWFDb250ZW50SXRlbS0zZTI5ZWRiZC05NGU0LTQxZDgtODdjOC1iNzdkYmVmN2U2ZWY%3D

📸 Screenshots

CleanShot.2024-01-26.at.13.50.15.mp4

Copy link

vercel bot commented Jan 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
apollos-micro-service ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 8:20pm
apollos-web-embeds ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 29, 2024 8:20pm

Copy link
Contributor

@nlewis84 nlewis84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it!

packages/web-shared/components/Modal/Modal.js Show resolved Hide resolved
@nlewis84
Copy link
Contributor

merge conflicts on index

@vinnyjth vinnyjth merged commit 467b945 into main Jan 29, 2024
5 checks passed
@vinnyjth vinnyjth deleted the ensure-scroll-to-top-on-content-change branch January 29, 2024 20:20
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

Successfully merging this pull request may close these issues.

2 participants