gwt-material-addins icon indicating copy to clipboard operation
gwt-material-addins copied to clipboard

TimePicker popup closes immediately after open on mobile chrome (v77)

Open squinn opened this issue 5 years ago • 6 comments

I'm seeing a problem with both the 2.2 and 2.3-snapshot builds where the time picker will immediately close after open when either using the mobile emulator in Chrome on Windows or in Chrome on actual Android mobile phone. So, it behaves similar to the the issue noted here (https://github.com/GwtMaterialDesign/gwt-material-addins/issues/383), but seems to only affect the MaterialTimePicker (the MaterialDatePicker works fine) - and only happens on mobile.

Steps to replicate:

Enable a mobile device emulator in the dev tools in Chrome, and then attempt to open up a MaterialTimePicker.

squinn avatar Oct 10 '19 00:10 squinn

I have the same problem with Chrome 78.0.3904.90 on Android using gwt-material-addins-2.2. Chrome 78.0.3904.84 on iOS and all Browsers I tested on desktop work great.

rwursthorn avatar Nov 07 '19 12:11 rwursthorn

Check the 2.3-SNAPSHOT for a working version as well.

washowasho avatar Nov 08 '19 22:11 washowasho

Cool

kevzlou7979 avatar Nov 09 '19 06:11 kevzlou7979

With Chrome 80.0.3987.119 on Android 7.0 on a Samsung Galaxy S6 I have this problem with the timepicker both on https://gwtmaterialdesign.github.io/gwt-material-demo/ and on https://gwtmaterialdesign.github.io/gmd-core-demo/

I am pretty sure that with older versions of Chrome (I can't tell which versions) it worked on https://gwtmaterialdesign.github.io/gwt-material-demo/

rwursthorn avatar Mar 02 '20 11:03 rwursthorn

For those not able to use the 2.3 snapshot.... try opening the time picker from code (.open() ). It stays open if you do it that way.

washowasho avatar Mar 02 '20 14:03 washowasho

For those not able to use the 2.3 snapshot.... try opening the time picker from code (.open() ). It stays open if you do it that way.

Thank you. It worked for me using time.addTouchStartHandler(event -> time.open());

rwursthorn avatar Mar 03 '20 07:03 rwursthorn