You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everywhere I used a window.addEventListener('click', ...do something); don't really work on iOS mobile safari because of this.
This can be solved by adding body { cursor: pointer } on safari, adding an invisible overlay that should be clicked (might cause issues), also update to include touchend, or add a no-op function on the react root div.
The text was updated successfully, but these errors were encountered:
All the components that relied on being closed with an outside click did
not work on mobile safari. I ended up going with a cheap solution of
just updating the <body> to have a pointer cursor on mobile safari so
the event is delegated correctly.
Closes#340
Everywhere I used a
window.addEventListener('click', ...do something);
don't really work on iOS mobile safari because of this.This can be solved by adding
body { cursor: pointer }
on safari, adding an invisible overlay that should be clicked (might cause issues), also update to includetouchend
, or add ano-op
function on the react root div.The text was updated successfully, but these errors were encountered: