fix: Platform-specific bug fixes (iOS + Android)#83
Merged
brianorwhatever merged 2 commits intomainfrom Feb 8, 2026
Merged
Conversation
added 2 commits
February 8, 2026 08:12
- Prevent iOS input zoom by enforcing min 16px font-size on inputs - Fix mobile viewport height (100dvh instead of 100vh) for proper sizing - Prevent overscroll/rubber-banding bounce for native app feel - Sync status bar style when dark mode toggles at runtime - Configure Keyboard plugin with native resize mode on iOS - Scroll focused inputs into view when keyboard opens - Watch for dark mode class changes via MutationObserver - Add Keyboard resize config to capacitor.config.ts
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.
Platform-Specific Bug Fixes
iOS Fixes
@supports (-webkit-touch-callout: none)— prevents Safari/WebView from zooming in when focusing input fields100dvhinstead of100vhso layouts account for the dynamic browser chrome (address bar, toolbar)overscroll-behaviorto prevent rubber-banding, giving the app a native feelresize: 'native'mode and enabled accessory bar; scrolls focused inputs into view when keyboard opensAndroid Fixes
capacitor.config.tswithresizeOnFullScreen: trueoverscroll-behavior-y: noneprevents pull-to-refresh in WebViewCross-Platform
<html>class changes) — previously only set on app init.min-h-screen-safeCSS class with dvh fallbackFiles Changed
src/index.css— CSS fixes for viewport, overscroll, input zoomsrc/lib/native.ts— Status bar sync, keyboard handling improvementssrc/main.tsx— Initialize keyboard handlingcapacitor.config.ts— Keyboard plugin configurationBuild passes ✅