Repository navigation
Shrink an answered request's space with its fold - #113
Merged
Merged
Conversation
When a docked permission or question was answered, the panel folded away but the room the capsule reserved for it stayed until the fold finished, then went in one step: a blank band for about 250 ms, then the chip row and the transcript dropped a whole panel height in one frame. The room now follows the panel's reveal, so it shrinks with the fold and the transcript settles down as the card leaves. Reduce Motion is unchanged (the reveal still snaps after its fade), and a request that docks mid-fold grows the room back with the reveal. Verified: vm.sh check :feature:session; emulator recordings of a permission answered in light, dark and at animator scale 5, the showcase question resolving, and Reduce Motion, compared frame by frame against a dev build.
Closed
This branch was previously deployed
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 a docked permission or question was answered, the card folded away but the space reserved for it stayed blank for about 250 ms, then the chip row and the whole transcript dropped a panel's height in one frame.
Now that space shrinks with the card's fold, so the transcript settles down as the card leaves. Reduce Motion still fades the card and then closes the space in one step, as before.
Verified with
vm.sh check :feature:sessionand emulator recordings checked frame by frame against a dev build: a permission answered in light, in dark and at animator scale 5, the showcase question resolving, and Reduce Motion. Not checked on a phone.The video shows dev on the left and this branch on the right: answering a permission in light, in dark, then slowed to 1/5.
before-after.mp4