Skip to content

fix: Remove onTouchEnd handler in iOS usePreventScroll #7479

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

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

devongovett
Copy link
Member

Fixes #7131

See explanation of the issue: #7131 (comment)

I can't reproduce the original issue that the touchend handler was added for described in the comments anymore. Maybe fixed in newer iOS versions. The onFocus handler seems to be sufficient now.

@rspbot
Copy link

rspbot commented Dec 5, 2024

@snowystinger
Copy link
Member

Trying to interact with the table view in v3, specifically the many items story, the table immediately stops scrolling when I lift my finger and fires a selection on the row, which was not my intent.

@devongovett
Copy link
Member Author

That story is not in a dialog so I don't think it would be affected by the change here?

@snowystinger
Copy link
Member

That story is not in a dialog so I don't think it would be affected by the change here?

ugh... hit with the ios 18 bug, it's working just fine in v3 and is already existing in s2

Copy link
Member

@LFDanLu LFDanLu left a comment

Choose a reason for hiding this comment

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

Looks fine to me on iOS 17 iPad, unable to reproduce the original issue as well via the long content Dialog story outside of the iframe. Tried a couple of other stories as well and wasn't able to see any issues

@devongovett devongovett added this pull request to the merge queue Dec 7, 2024
Merged via the queue into main with commit a89b7c8 Dec 7, 2024
30 checks passed
@devongovett devongovett deleted the ios-preventscroll-fix branch December 7, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to dismiss iOS keyboard when input has focus in modal dialog
4 participants