Add possibility to change dynamically between different scroll simulations depending of the platform - #13396
Draft
Murmele wants to merge 27 commits into
Draft
Add possibility to change dynamically between different scroll simulations depending of the platform#13396Murmele wants to merge 27 commits into
Murmele wants to merge 27 commits into
Conversation
… different animations depending on the used platform
Murmele
force-pushed
the
mm/flickable-scroll-animation-v2
branch
from
September 15, 2026 08:34
bcf1c38 to
74bb938
Compare
#Conflicts: # internal/compiler/builtin_elements.rs # internal/compiler/builtins.slint
Member
Author
#Conflicts: # internal/core/items/flickable.rs
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.

API
The flickable gets three new properties,
carry-momentumandbounce.bounceis used to simulateiosbehavior going out of limit and returning with a spring damper system to the limit when releasing the finger / mouse buttoncarry-momentumis used to control whether the velocity of the current running animation shall be readded to the newly estimated velocity (iosimitation) or if it shall be ignoredCurrently the enum is called
AutoBoolwith the propertiesauto,on,off. Auto can be interpreted generically. For the flickable it is used to enable bouncing automatically for specific platforms like ios/macos and disabling it for all other platformsAutoBoolenum name