Repository navigation
[2/2] feat: adapt the timeline toolbar to touch layouts - #334
Merged
Merged
Conversation
github-actions Bot
pushed a commit
that referenced
this pull request
Dec 3, 2026
# [2.36.0](v2.35.0...v2.36.0) (2026-12-03) ### Bug Fixes * keep the drag ghost under its clip when the timeline is scrolled ([#337](#337)) ([8157710](8157710)) ### Features * adapt the timeline toolbar to touch layouts ([#334](#334)) ([9ffcac0](9ffcac0)) * make canvas selection handles easier to hit on touch ([#335](#335)) ([0f0fcac](0f0fcac)) * pinch and twist the selected canvas clip on touch ([#336](#336)) ([e77dc9f](e77dc9f)) * show a clip as lifted during a long press ([#333](#333)) ([122a661](122a661))
|
🎉 This PR is included in version 2.36.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Later touch work (an action bar, sheets, a stationary playhead) needs to know which layout it's in, and the toolbar's 28 px buttons are too small for fingers.
Each component now picks a tier from its own container:
The timeline root carries
data-ss-tier. In the two touch tiers, the toolbar buttons are 44 px and the zoom slider gives way to − and +; pinch still zooms. Desktop is unchanged.The height comes from
documentElement.clientHeight, never the visual viewport, so the on-screen keyboard can't change the tier. Some WebViews shrink the layout viewport for the keyboard, so while a field has focus the height verdict holds. Below 380 px, the time readout truncates rather than run under − and +.Verify:
Merge bottom-up. Retarget the 2/2 PR to
mainafter the 1/2 lands.