OZtree
OZtree copied to clipboard
Compass menu does not display reliably on iOS Safari
To reproduce:
- Go to https://www.onezoom.org/life
- Search for "Common fruit fly" and navigate there.
- Use the compass menu to navigate to "Fruit fly"
- Tap the compass button again.
Observed behavior: Compass button turns yellow but nothing pops up. Expected: Compass menu pops up.
Can you reproduce this @lentinj ?
Yeah, mobile Firefox does the same, only way I can get it to open again is reload the page.
On desktop it appears on mouseover (which isn't consistent with everything else anyway). Touch-based interaction requires a click.
My bet is the code to hide on zoom isn't telling UI-Kit that the pop-up is now closed, so doesn't open again.
You're spot on I reckon, @lentinj! Fixing that seems to solve this problem for me locally on an iPhone. Could you see what you think in https://github.com/OneZoom/OZtree/pull/889