-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolves #436, and - https://rive.app/community/forums/support/fsnLLkXUaA62/flutter-scrolling-not-working-as-expected-on-mobile/ft3UcorwBVAf Our web runtime has a `isTouchScrollEnabled`. This reproduces that behaviour. ``` /// For Rive Listeners, allows scrolling behavior to still occur on Rive /// widgets when a touch/drag action is performed on touch-enabled devices. /// Otherwise, scroll behavior may be prevented on touch/drag actions on the /// widget by default. /// /// Default `false`. ``` I made some TODOs in the code for future considerations. We might want to opt in to give users more control over which gestures should be registered, and we can potentially be smart about doing this conditionally, depending on what the Rive graphic allows you to do. But this requires more investigation. https://github.com/user-attachments/assets/81119bed-cb8a-4672-9559-d1c85832bad9 Diffs= 8d1fdd16ad feat: add isTouchScrollEnabled (#8651) Co-authored-by: Gordon <pggordonhayes@gmail.com>
- Loading branch information
1 parent
1848316
commit 16d549f
Showing
6 changed files
with
64 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7986d64d8371531716ea3f038dcbec5da187e6cd | ||
8d1fdd16ad196c3acca18faa89db2e1f4ef94365 |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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