-
Notifications
You must be signed in to change notification settings - Fork 289
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
iOS 18: clicking profile picture sometime does nothing #2370
Comments
It seems this happens if there is no profile or no lightning address ? |
I may have experienced this on iOS 17 |
This is still an issue on the official (non-beta) iOS 18.0 release Device: iPhone 13 mini (physical device) |
I've asked previously if anyone experiences a similar cannot tape on share note externally icon (bottom right of any note) |
Looking into this |
I traced back the issue to Very likely #2342 has the exact same root cause and fix |
I tried updating Kingfisher (the library that defines
I will try implementing a quick solution on our end that should fix the issue while we don't fix this on the Kingfisher side |
Implemented #2498 as a tentative PR which improves the iOS 18 situation. Not a final fix, but addresses this if we can't get a proper fix in on time. |
I will keep investigating to find a better fix. |
I created a minimal reproducible Xcode project that shows the issue is present on the latest Kingfisher version too (8.0.2). Not actively debugging this right now, I am focusing on #2458 |
The introduction of iOS 18 brought a new bug that made `KFAnimatedImage` not recognize tap gestures and become unclickable. (onevcat/Kingfisher#2295) This commit addresses the issue with a workaround found here: onevcat/Kingfisher#2046 (comment) The workaround was suggested by the author of the library to fix a slightly different issue, but that property seems to work for our purposes. The issue is addressed by adding a `contentShape` property to usages of `KFAnimatedImage`, in order to make them clickable. A custom modifier was created to make the solution less obscure and more obvious. Furthermore, one empty tap gesture handler was removed as it was preventing other tap gesture handlers on the image carousel from being triggered on iOS 18 Testing ------- PASS Configurations: - iPhone 13 mini on iOS 18.0 - iPhone SE simulator on iOS 17.5 Damus: This commit Coverage: - Check that the following views are clickable: - Images in the carousel - Profile picture on notes - Profile picture on thread comments - Profile picture on profile page Changelog-Fixed: Fix items that became unclickable on iOS 18 Closes: damus-io#2342 Closes: damus-io#2370 Signed-off-by: Daniel D’Aquino <[email protected]>
Noticing this sometimes, its likey an iOS 18 issue
The text was updated successfully, but these errors were encountered: