GwtMaterialDesign / gwt-material

A Google Material Design wrapper for GWT
https://gwtmaterialdesign.github.io/gmd-core-demo/
Apache License 2.0
411 stars 124 forks source link

Material-dropdown is not working in touch devices #767

Open prem6667 opened 6 years ago

prem6667 commented 6 years ago

Not even the demo page's dropdown working in mobile devices.

I am using chrome developer tool to see how it is working in mobile. selecting item does not send any event.

kevzlou7979 commented 6 years ago

Thanks will look on it. Can you provide what version of GMD you are using?

kevzlou7979 commented 6 years ago

Tested in Chrome.

working

Specify what version you've used in the ff:

kevzlou7979 commented 6 years ago

Also what events are you triying to trigger?

prem6667 commented 6 years ago

I am using -> GMD = 2.0-rc5 GWT = 2.8.2 Chrome = any mobile device OS = Android/iOS

prem6667 commented 6 years ago

Also I am trying to fire click event on drop-down items and none of them is working.

kevzlou7979 commented 6 years ago

This could be related to https://github.com/GwtMaterialDesign/gwt-material/issues/766https://github.com/GwtMaterialDesign/gwt-material/issues/766. Because of the stopPropagation(). I' am on the process to drill this culprit.

prem6667 commented 6 years ago

FYI, if i do dropdown.setHover(true), it is working on mobile devices as click and items are clickable. but i don't want to set it be hoverable.