ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

Issue on the touch event on the different select tag

Open perscrew opened this issue 10 years ago • 33 comments

Hi, you 've got an important bug with the last ionic 1.3.1 version on the touch event on each select.

On Android 6.0 and Chrome 52.0.2743.98, the different select cannot be displayed.

On previous Android version and Chrome desktop browser it's working fine.

perscrew avatar Sep 05 '16 21:09 perscrew

Hmmm, its possible that something did not get updated on the cordova side of things and removing and re-building the app fixed it. @perscrew are you still having the issue?

jgw96 avatar Sep 08 '16 17:09 jgw96

That's very strange I rebuild on IOS 2 days ago, and I still get the problem. I ran this command too because I thought it was related to cordova : npm uninstall -g cordova, npm install -g cordova => Same error...

Worst I downloaded another app build with Ionic 1 (Popety) : https://play.google.com/store/apps/details?id=com.popety.transparent Same error select are displayed only on the red area that @Amex22 as mentioned.

Any idea ? :(

perscrew avatar Sep 08 '16 19:09 perscrew

@perscrew What android device are you using to test? Also, can you reproduce the issue on another android device?

jgw96 avatar Sep 08 '16 19:09 jgw96

I've got a Sony xperia M5 aqua dual. I tested on some collegues device running on Android 6 it's working...

perscrew avatar Sep 08 '16 19:09 perscrew

Hmm thats very interesting. Can you confirm that their devices are running the same version of the chrome webview that your xperia is?

jgw96 avatar Sep 08 '16 19:09 jgw96

Yes one got the same Chrome webview version but a 6.0.1 android build.

@Amex22 could you please telle me wich minSdk and targetSdk you have specified in your AndroidManifest.xml ?

perscrew avatar Sep 08 '16 20:09 perscrew

<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />

Amex22 avatar Sep 08 '16 20:09 Amex22

OK thank you @Amex22. I tried many configuration with target sdk and min sdk, same error...

I'm going to implement a workaround with css and event triggering...

perscrew avatar Sep 08 '16 20:09 perscrew

@perscrew Just to confirm it did work on your colleague's device? If so, what device are they using? Also, would you be able to test this on a 6.0 android emulator?

jgw96 avatar Sep 08 '16 20:09 jgw96

Asus Zenphone 2 for my collegue. Yep I'm going to test on a 6.0 emulator, will keep u in touch...

perscrew avatar Sep 08 '16 20:09 perscrew

lol big joke, google just pushed an update on android system webview, everything is OK now...

However it seems working just before the update by replacing the <label> tag with a <div> to surround the select.

perscrew avatar Sep 08 '16 21:09 perscrew

Wow, very interesting haha 😄 Guess it was a bug in the webview. Thanks for all the testing and patience! Since this seemed to be a bug in chrome webview and not an Ionic bug I am going to close this issue for now. Thanks for using Ionic!

jgw96 avatar Sep 08 '16 21:09 jgw96

I also got an update just after the bug resolution...

Amex22 avatar Sep 08 '16 21:09 Amex22