Skip to content

fix: Android 'isScrollEnabled' not applied to scroll view if changed during gesture#8695

Merged
NathanWalker merged 5 commits into
NativeScript:masterfrom
CatchABus:ns-isScrollEnabled
Jul 7, 2020
Merged

fix: Android 'isScrollEnabled' not applied to scroll view if changed during gesture#8695
NathanWalker merged 5 commits into
NativeScript:masterfrom
CatchABus:ns-isScrollEnabled

Conversation

@CatchABus
Copy link
Copy Markdown
Contributor

@CatchABus CatchABus commented Jul 6, 2020

PR Checklist

What is the current behavior?

Android property 'isScrollEnabled' does not apply to scroll view if changed while gesture is underway.

What is the new behavior?

Android property 'isScrollEnabled' will apply to scroll view if changed while gesture is underway.

Fixes #8545 .

This fixes issues of implementations related to moving views inside a ScrollView (e.g. BottomSheet).
Here is a sample from @rigor789 that was done using android native touch listener: https://play.nativescript.org/?template=play-vue&id=v1t5Pe&v=2

With this fix, there is the possibility of implementing such features using pure NativeScript. :)

@cla-bot cla-bot Bot added the cla: yes label Jul 6, 2020
Copy link
Copy Markdown
Contributor

@NathanWalker NathanWalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @dimitrisrk

@NathanWalker NathanWalker merged commit 02ec7f1 into NativeScript:master Jul 7, 2020
@Panimaster
Copy link
Copy Markdown

Awesome thank you @dimitrisrk . I struggled with this issue for some time and I hope this will be released soon

@NathanWalker
Copy link
Copy Markdown
Contributor

NathanWalker pushed a commit that referenced this pull request Aug 7, 2020
NathanWalker pushed a commit that referenced this pull request Aug 7, 2020
tarunama pushed a commit to tarunama/NativeScript that referenced this pull request Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ScrollView Gesture Issues

4 participants