OZtree icon indicating copy to clipboard operation
OZtree copied to clipboard

Compass menu does not display reliably on iOS Safari

Open wolfmanstout opened this issue 1 year ago • 2 comments

To reproduce:

  1. Go to https://www.onezoom.org/life
  2. Search for "Common fruit fly" and navigate there.
  3. Use the compass menu to navigate to "Fruit fly"
  4. Tap the compass button again.

Observed behavior: Compass button turns yellow but nothing pops up. Expected: Compass menu pops up.

wolfmanstout avatar Sep 22 '24 23:09 wolfmanstout

Can you reproduce this @lentinj ?

hyanwong avatar Sep 23 '24 06:09 hyanwong

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.

lentinj avatar Sep 23 '24 07:09 lentinj

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

jaredkhan avatar Nov 03 '24 21:11 jaredkhan