Select not working on Android 2.3
Select on Android 2.3 is not working. I'm working from master.
There was a issue #1254 and that fixed most of the issue, but not Android 2.3. In reviewing that fix, I noticed there was a similar construct in scrollView.js.
scrollView.js - near line 675
self.touchStart = function(e) {
self.startCoordinates = getPointerCoordinates(e);
if ( ionic.tap.ignoreScrollStart(e) ) {
return;
}
Select on Android 2.3 works if you change the one statement to:
if ( ionic.tap.ignoreScrollStart(e) || e.target.tagName === 'SELECT' ) {
I tested pre/post change on android 2.3, 4.4, iOS 6/7, and Safari/Chrome with no obvious bad side effects.
That method will not allow the user to scroll when the target is a select element, so I instead change it a little bit so it can still be scrolled. Thanks for looking into this!
Its not working for me, android 2.3.6
Its not working for me, Android 2.3.6
Same problem for me on Android 2.3.3, with the latest Ionic version (beta 11).
If I seed a "tabs" app, paste in the code from your docs, then deploy to my phone, tapping the select element doesn't do anything.
Nothing interesting in the log:
- I/InputReader( 160): dispatchTouch::touch event's action is 1
- I/InputDispatcher( 160): Delivering touch to current input target: action: 1, channel '408a69c8 com.ionicframework.selecttest680627/com.ionicframework.selecttest680627.SelectTest (server)'
The fixes suggested here and here have not helped.
I'm not sure if this falls under the umbrella of "scaled-down support for Android 2.3", but any help debugging would be appreciated.
I can confirm this problem on 2.3.7 :panda_face:
I have the same problem on 2.3.5
Is this issue have been resolved? I am facing the same, see the description on Stackoverflow at http://stackoverflow.com/questions/37077311/dropdown-text-issue-in-ionic-cordova-on-android-device
Maybe try using Gap Debug there you can see the actual html DOM generated by the code it will help you find the problem
On Tue, May 10, 2016 at 1:44 AM, RupenAnjaria [email protected] wrote:
Is this issue have been resolved? I am facing the same, see the description on Stackoverflow at
http://stackoverflow.com/questions/37077311/dropdown-text-issue-in-ionic-cordova-on-android-device
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/driftyco/ionic/issues/1298#issuecomment-217902545
Navneet Bhartia
Hi I don't think I got it to work and eventually set the minimum supported version to a higher version of android one. Try another android device with version 4 or above of android
On Tue, May 10, 2016 at 1:44 AM, RupenAnjaria [email protected] wrote:
Is this issue have been resolved? I am facing the same, see the description on Stackoverflow at
http://stackoverflow.com/questions/37077311/dropdown-text-issue-in-ionic-cordova-on-android-device
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/driftyco/ionic/issues/1298#issuecomment-217902545
Navneet Bhartia
Facing the same on Android 5.0