themefoundation / mo-js

Menu Object. A mobile-first, progressibly enhanced menu system.
22 stars 4 forks source link

won't work on Windows Tablet #14

Open boesie opened 8 years ago

boesie commented 8 years ago

It seems the Windows tablet used the function CLICK instead of HOVER. The dropdownmenu / submenu isn't available on the Windows Tablet.

alexmansfield commented 8 years ago

Ah yes. This gets tricky when deciding when hover should be enabled and when click should be enabled. By default, touch screens get CLICK instead of HOVER for a couple reasons:

  1. When I first build this, there were very few touch screen devices that were used in conjunction with a mouse.
  2. Some touch screen browsers try to mimic HOVER on the first CLICK of an element that uses HOVER. By removing HOVER on touch screens, it prevents touch screens from creating conflicting behavior.

Now that larger touchscreen have become more common, I should go back and try to address this issue. I don't have a Windows Tablet though, so testing will be a bit tricky. Is this something you would be willing to test for me if I make a change to better support Windows tablets?