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 got from Ajax not working in Android 2.3.x #51

Open
totorche opened this issue Oct 13, 2013 · 3 comments
Open

select got from Ajax not working in Android 2.3.x #51

totorche opened this issue Oct 13, 2013 · 3 comments

Comments

@totorche
Copy link

Hi,
I wrote an app for iOS and Android with App-ui. Everything's working well in iOS and Android ICS, but in Gingerbread, when I get select inputs from an Ajax request, the select won't open.
If I rote the phone, it's working well again. But before it doesn't work. The select which are set without Ajax (directly in the code) are working well.

It's been a week I'm looking for a solution.

Thanks a lot in advance.

@totorche
Copy link
Author

If I catch the events ontouchend and onclick, for a select without ajax there's just the ontouchend. For a select got from Ajax, there're both of them (ontouchend and then onclick) and the select doesn't open.

@triceam
Copy link
Owner

triceam commented Oct 14, 2013

Any code snippets you can share? I have not seen this issue. My guess is that it is related to hardware acceleration/CSS styles, which often have issues on Android. See if adding/removing the following css on those elements helps:
backface-visibility:hidden;
-webkit-backface-visibility:hidden;

Also, try removing all instances of -webkit-transform: translate3d(0, 0, 0); from your CSS - this is known to cause issues on older versions of android

@totorche
Copy link
Author

I already tried with removing every instance of -webkit-transform: translate3d(0, 0, 0); from the CSS. It helped for the selects which were put directly in the begining of the app, but the one got from Ajax still didn't work.

I switched to another plugin since my last post and now my app work perfectly ;-)

I'll try anyway with "backface-visibility" in a few days on the version with app-UI and come back to you.

Thanks for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants