-
Notifications
You must be signed in to change notification settings - Fork 611
Llastflowers/5118/select panel unhide footer #6170
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 22e9b8a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking pretty good. Noticed some weird behavior on zoom. Wondering if there's anything we can do about that 👀 . Also I like @TylerJDev suggestion about only doing recalculations when the panel is open.
ScreenRecording_06-09-2025.11-40-42_1.mov
…only if height changes independently (keyboard)
Thanks for calling this out! I'm adding an additional check for viewport scale changes, so this resizing/repositioning stuff won't happen on scale change (like when a user zooms), only height change. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
a8454eb
to
22e9b8a
Compare
👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks! |
👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/382760 |
🟢 golden-jobs completed with status |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧑🍳💋
Closes https://github.com/github/primer/issues/5118
Changelog
New
(This approach made more sense to me vs. trying to reposition the footer itself to stick to the keyboard, because it seemed a lot simpler to implement, generally less issue-prone, easier to understand the code, required fewer changes, seems more likely to work across different browsers and devices, and the UI interactions are basically exactly the same, if not a bit cleaner. That said, I'm open to feedback ofc!)
Changed
Panel now automatically resizes when mobile keyboard is visible so that content including the footer is not hidden behind the keyboard.
Safari on iOS:
Chrome on iOS:
Removed
Removed one line from the corresponding CSS module that I noticed was making the footer button slightly off-center. If this was intentional lmk and I can revert
Rollout strategy
Testing & Reviewing
@tylerjdev
offered to test on his Android mobile phone for good measure (ty!)References
https://developer.mozilla.org/en-US/docs/Web/API/Visual_Viewport_API
https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport
Merge checklist