Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking on a scroll bar triggers a click on component within the scroll view #629

Closed
lyahdav opened this issue Oct 2, 2020 · 5 comments
Labels
Area: ScrollView bug Something isn't working help wanted Extra attention is needed Partner: Facebook

Comments

@lyahdav
Copy link
Collaborator

lyahdav commented Oct 2, 2020

Environment

  1. react-native -v: 6.13.4
  2. npm ls react-native-macos:
react-native-macos@1000.0.0 /Users/lyahdav/Documents/react-native-macos
└── (empty)
  1. node -v: v12.14.1
  2. npm -v: 6.13.4
  3. yarn --version: 1.21.1
  4. xcodebuild -version:
Xcode 11.6
Build version 11E708

Issue

Clicking on a ScrollView's scroll bar triggers a click on component within the scroll view.

Steps to Reproduce

  1. Run RNTester Mac
  2. Click on the scroll bar in the main list

Expected Behavior

Allows me to scroll.

Actual Behavior

Triggers a click on the row next to it. Note to make this easier to repro you can enable scroll bars to always show in macOS settings.

Reproducible Demo

Screen Recording 2020-10-02 at 2.48.52 PM.mov.zip

@chrisglein chrisglein added Area: ScrollView bug Something isn't working help wanted Extra attention is needed and removed Needs: Triage 🔍 labels Oct 28, 2020
@chrisglein
Copy link
Member

The scroll indicator on iOS can't get a touch event, but on desktop it works differently. There's some assumption that's wrong in there because of that different. Scroll events yes, but not touch events (which this case are clicking the underneath list item and navigating to the next page).

@github-actions
Copy link

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label May 26, 2022
@lyahdav lyahdav removed the Stale label May 26, 2022
@lyahdav
Copy link
Collaborator Author

lyahdav commented May 26, 2022

I removed the stale label because I'm pretty sure this is still an issue

@Saadnajmi
Copy link
Collaborator

Yeah this is still an issue... and on my backlog.

@christophpurrer
Copy link

I think with #1281 we can close this issue now?

@lyahdav lyahdav closed this as completed Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: ScrollView bug Something isn't working help wanted Extra attention is needed Partner: Facebook
Projects
None yet
Development

No branches or pull requests

4 participants