-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Fix not working link toolbar on iOS. #18071
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
base: master
Are you sure you want to change the base?
Conversation
|
Tested on my device, imho good enough fix for now, clicking at the end of the link still works, clicking on the link shows toolbar, and Apple native selection handler, but this one is easily discardable with a second tap. |
| if ( isLinkElement( targetViewElement ) ) { | ||
| linkElement = targetViewElement; | ||
| } else { | ||
| linkElement = targetViewElement.getAncestors().find( isLinkElement ) as ViewElement | null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be an abstract 2scm element, not a link specific.
Suggested merge commit message (convention)
Internal (link): Fix not working link toolbar on iOS. Closes #18023
Additional information
Before
ios-linking-experience-problem-2025-03-03_13.33.12.mp4
After
ios-linking-experience-problem-v2-2025-03-03_13.51.22.mp4