Repository navigation
[combobox] Fix iOS viewport settling - #4351
Merged
atomiks merged 2 commits intoMar 19, 2026
Merged
Conversation
commit: |
Bundle size report
Check out the code infra dashboard for more information about this PR. |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
atomiks
force-pushed
the
codex/combobox-ios-viewport-settling
branch
5 times, most recently
from
March 17, 2026 10:00
2a5edaf to
05c572f
Compare
Contributor
Author
Codex ReviewOverviewThis patch only changes one behavior: it doubles the touch-open delay for the outside-input combobox path from 50ms to 100ms to reduce the visible top-to-bottom repositioning on touch devices when the mobile keyboard settles. Findings (None)No blocking issues found in this patch. Confidence: 4/5High confidence because the branch diff is very small, the affected code path is easy to reason about, and the key build and test checks are green. Residual risk is mostly around real-device mobile behavior, which is not directly covered by the automated tests. Notes
|
atomiks
force-pushed
the
codex/combobox-ios-viewport-settling
branch
from
March 17, 2026 10:09
05c572f to
fca535e
Compare
atomiks
marked this pull request as ready for review
March 17, 2026 10:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When the input is outside the popup, we need to let mobile software keyboards "settle" to avoid 1) flip-flickers, and 2) issues with the selected item not scrolling into view due to the delayed visual viewport resize.
In iOS 26, this needs to be increased vs. iOS 18 which was faster to adjust the settling visual viewport size. 100ms appears to be robust when manually testing unlike 50ms.