Skip to content

Inline search modal #3416

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

Open
wants to merge 30 commits into
base: main
Choose a base branch
from
Open

Conversation

zenoachtig
Copy link
Contributor

No description provided.

Copy link

linear bot commented Jul 1, 2025

Copy link

changeset-bot bot commented Jul 1, 2025

🦋 Changeset detected

Latest commit: 8a310e5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

argos-ci bot commented Jul 1, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2 (Inspect) ⚠️ Changes detected (Review) 168 changed Jul 7, 2025, 11:17 AM
v2-cloudflare (Inspect) ⚠️ Changes detected (Review) 678 changed Jul 7, 2025, 11:21 AM
v2-vercel (Inspect) ⚠️ Changes detected (Review) 686 changed Jul 7, 2025, 11:20 AM

In summary: every time we'd type in the input, the browser would try to scroll to the input. But because the input is shown _above_ the scrollview's `scroll-padding-top`, it jumped up a tiny bit with every character typed. Instead of attaching a `scroll-padding` to the viewport, we now have a `scroll-margin` on elements we're actually scrolling to. This was even in place already, so took no extra effort.
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