FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Android: isUserInteractionEnabled stopped controlling the ScrollView's behaviour · Issue #6511 · NativeScript/NativeScript · GitHub

Android: isUserInteractionEnabled stopped controlling the ScrollView's behaviour  #6511

Description

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.0.0
  • Cross-platform modules: 5.0.1
  • Android Runtime: 5.0.0
  • iOS Runtime: 5.0.0
  • Plugin(s): N/A

Describe the bug
Until v4.2.0, setting isUserInteractionEnabled to false not only prevented click events but also the scrolling incase of ScrollView. Since 5.0.0, it's not the case anymore with Android, user is allowed to scroll anyways.

To Reproduce
https://stackoverflow.com/questions/53158670/nativescript-scrollview-bug-on-android-with-runtime-version-5-0-0

Expected behavior
Setting isUserInteractionEnabled to false should prevent scroll on Android.

Sample project
https://play.nativescript.org/?template=play-js&id=hKrNlK

Additional context
If anyone looking for a workaround, here it is - https://play.nativescript.org/?template=play-js&id=hKrNlK&v=10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL