fix(mobile): revert keyboard to live VisualViewport tracking (no timer), undo budge; add unit test
- Keyboard: the 60ms timer in batch106 sampled the viewport MID-animation (clientHeight/visualViewport temporarily inconsistent) and over-lifted -> gap. Reverted to reading clientHeight-visualViewport LIVE on every vv resize, which is correct and self-adapting (unit test: residual=46 flush on the device). - Budge: reverted the file <input> back to display:none (the position:fixed;left:50% hack overflowed the viewport horizontally). - Config back to resize:native to match the installed build (works, no rebuild). - Added test/keyboard-lift.test.js (5/5 pass) verifying the lift math against real device numbers. Build marker -> 2026-07-18-batch107. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
"offsetForKeyboardInsetBug": false
|
||||
},
|
||||
"Keyboard": {
|
||||
"resize": "none"
|
||||
"resize": "native"
|
||||
},
|
||||
"SplashScreen": {
|
||||
"launchShowDuration": 900,
|
||||
|
||||
Reference in New Issue
Block a user