Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select not working on Android 2.3 #1298

Closed
marcusanzalone opened this issue May 7, 2014 · 10 comments
Closed

Select not working on Android 2.3 #1298

marcusanzalone opened this issue May 7, 2014 · 10 comments
Assignees

Comments

@marcusanzalone
Copy link

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.

@adamdbradley
Copy link
Contributor

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!

@ghost
Copy link

ghost commented Jul 15, 2014

Its not working for me, android 2.3.6

@fergusreiggracia
Copy link

Its not working for me, Android 2.3.6

@dunksmith
Copy link

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.

@trumbitta
Copy link
Contributor

I can confirm this problem on 2.3.7 🐼

@navneet77
Copy link

I have the same problem on 2.3.5

@RupenAnjaria
Copy link

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

@navneet77
Copy link

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
#1298 (comment)

Navneet Bhartia

@navneet77
Copy link

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
#1298 (comment)

Navneet Bhartia

@RupenAnjaria
Copy link

Facing the same on Android 5.0

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants