share-this icon indicating copy to clipboard operation
share-this copied to clipboard

Does not work properly on iPhone

Open mnzawa opened this issue 3 years ago • 5 comments

I discovered this bug in December 2021. Reproduce on the latest iOS.

When I display share-this and try to tap the share button, it disappears. https://maxart2501.github.io/share-this/ Perhaps the click event isn't working properly, but I'm not sure.

It works on PC and Android, so I think it's a problem only for iOS. Is there any improvement plan?

mnzawa avatar Jan 11 '22 11:01 mnzawa

Hello, thank you for the feedback. It seems to work properly for me in my iPhone, so maybe can you specify what is happening exactly? Are you using Safari? Which of the 5 share buttons are you clicking? What disappears: the selection, the popover...?

MaxArt2501 avatar Jan 11 '22 11:01 MaxArt2501

Thank you for confirming.

Here are the results from two users who tried it.

  • I'm on the latest iOS 15.1.
  • I tried it in safari and chrome and it didn't work.
  • It only shows 4 types instead of 5 and I couldn't press any of them.
  • The ones that disappear are popovers.

mnzawa avatar Jan 11 '22 12:01 mnzawa

The fifth sharer (the 4th in order) appears only if the selected text is unique in the container (case sensitive). I have iOS 14.7 right now so maybe that's the culprit (i.e. Apple breaking things again). I'll investigate more thoroughly when I'll update the OS.

MaxArt2501 avatar Jan 11 '22 13:01 MaxArt2501

Thank you. I look forward to your investigation.

mnzawa avatar Jan 11 '22 13:01 mnzawa

Hello @MaxArt2501,

I encounter the same problem. Click on iOS 15.3.1 closes the pop over without triggering action. Adding manually a click event listener does not work either.

Thank you for your help.

Ismael-Hery avatar Mar 04 '22 07:03 Ismael-Hery