glide-data-grid icon indicating copy to clipboard operation
glide-data-grid copied to clipboard

Touch doesn't execute header menu on mobile

Open mjpolak opened this issue 2 years ago • 3 comments

Reproduction:

  1. Go to https://grid.glideapps.com/ on mobile device
  2. Try to click on header menu

Result

The menu doesn't open

Expected result

Menu is visible

mjpolak avatar Nov 13 '23 11:11 mjpolak

@jassmith , @mjpolak i try to reproduce this issue in safari iOS, i found that this menu is not working in iOS, is this right, then i can look into this one Screenshot 2023-12-18 at 12 48 44 PM

tanvirraj avatar Dec 18 '23 06:12 tanvirraj

It would be great if you could poke at it. The solution here is that the onHeaderMenuClick event needs to emit when there is a long touch (and the other requirements for emitting this event are met). Fortunately the base implementation already tells you if the last interaction was a long touch, so this shouldn't be too hard.

jassmith avatar Dec 18 '23 06:12 jassmith

make sense. Thanks for brief intro. will look into this.

tanvirraj avatar Dec 18 '23 07:12 tanvirraj