These are chat archives for gantry/gantry4

Dec 2015
Djamil Legato
Dec 12 2015 08:10
that behavior has always been a problem
ever since touch devices exist
the issue is that, as you know, touch devices don’t have an hover state
and when you have a parent menu item that works as both link [click/touch] AND expander for sub elements [hover], you get in troubles
some touch devices with some browsers tried to get around this issue
so the first touch would be hover and the second a click
but it has just proven a disaster
you won’t see many of these type of menu anymore on the web
what people usually do is to have the parent being a regular span and then repeat the parent item inside the dropdown as a link, followed by the rest of the children
also what you can try is to use a link with href="#" or href="javascript:void(0)"