Conversation
… opens on iOS iOS applies the keyboard's destination contentInset and contentOffset when the keyboard animation starts, but our keyboard-controller patch reported the animating height to LegendList. While the keyboard opened, LegendList's end target sat short of the native end, so an end-following pass scrolled the feed back by up to ~110pt for a frame before its fallback walked it to the end. Report the larger of the destination and animating padding instead; closing keeps reporting the animating height as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
juliusmarminge
enabled auto-merge (squash)
November 25, 2026 02:39
Contributor
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
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.
Opening the keyboard on an iOS thread that follows its end, e.g. a Working thread anchored on the sent message, made the feed jump back for a frame mid-animation and then catch up. It has been there since #8793; the release's RNS, Reanimated and LegendList bumps don't affect it (bisected below).
Cause: iOS applies the keyboard's destination
contentInsetandcontentOffsetwhen the keyboard animation starts, but ourreact-native-keyboard-controllerpatch reported the animating keyboard height to LegendList. While the keyboard opened, LegendList believed the bottom inset was smaller than the native one. Any end-following pass in that window (maintainScrollAtEnd, e.g. a streamed chunk) then scrolled to an end about 95–112pt short of the real one, and LegendList'sscrollToFallbackOffsetwalked it back over the next frames. A scroll trace on one open:Fix: on iOS, report
max(destination padding, animating padding). While opening, LegendList now uses the native end. While closing, the animating height is the larger one, so closing behaves exactly as before. One expression in the patch; no app code changes.Verification on the iPhone Duo simulator (unfolded, Working Haiku turn, 8 keyboard open/close cycles per build, feed motion measured frame by frame):
mainwith Reanimated 4.7.1mainwith LegendList 3.7.3mainClosing was smooth in every build and still is.
vp run check:changedpasses.main)Not covered: a physical device, and the composer-lifted-without-keyboard frames from the original device recording, which never reproduced on the simulator in any build.
Done with Claude Opus 5.5 in Claude Code (T3 Code).
🤖 Generated with Claude Code