react-share
react-share copied to clipboard
Twitter share button onShareWindowClose issue
Hello, I have a probleme when using onShareWindowClose with the twitter button. The event is triggering directly after the twitter window open not at its closure.
Does someone had the same issue and find how to fix it ?
Thanks !
+1
+1
I have the same issue
+1
Hi,
twitter sets the cross-origin-opener-policy to "same-origin"
So it means your website/react-share will not see if the window it opened is opened or close (at least on firefox, it always reports it as closed)
If my understanding of that standard is right, there is no way of fixing that bug, it's working as intended (and set up by twitter)