Skip to content

fix text click crash in Pressability measure#8

Merged
Flewp merged 1 commit into
0.86.0-discordfrom
kosmydel/fix-text-click-crash
Jul 6, 2026
Merged

fix text click crash in Pressability measure#8
Flewp merged 1 commit into
0.86.0-discordfrom
kosmydel/fix-text-click-crash

Conversation

@kosmydel

@kosmydel kosmydel commented Jul 3, 2026

Copy link
Copy Markdown

During the upgrade it was changed from:
https://github.com/discord/react-native/blame/69cb54cb4c84f5877f9d5e5762c3c84aa54a446b/packages/react-native/Libraries/Pressability/Pressability.js#L808
to wrong function in the 44e0a43

It brings back correct function + improves callback to avoid hard crash

Details

Simulator.Screen.Recording.-.iPhone.17.-.2026-07-06.at.09.25.49.mov


@kosmydel kosmydel requested review from Flewp, WoLewicki and hannojg July 3, 2026 13:59
@kosmydel kosmydel marked this pull request as draft July 3, 2026 14:01
@kosmydel kosmydel marked this pull request as ready for review July 6, 2026 07:26
@hannojg

hannojg commented Jul 6, 2026

Copy link
Copy Markdown

have we also tested whether android is still working happily ?

@Flewp Flewp merged commit 0587105 into 0.86.0-discord Jul 6, 2026
42 checks passed
@Flewp Flewp deleted the kosmydel/fix-text-click-crash branch July 6, 2026 12:58
@kosmydel

kosmydel commented Jul 7, 2026

Copy link
Copy Markdown
Author

have we also tested whether android is still working happily ?

I haven't :|

@Flewp it turned out this change breaks clicking on Android in the DM list for me🤔

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.

3 participants