Non-native disabled selects become native when enabled #3894

Closed
agcolom opened this Issue Mar 23, 2012 · 6 comments

Comments

Projects
None yet
2 participants
@agcolom
Member

agcolom commented Mar 23, 2012

Non-native selects that are disabled by default become native when enabled progammatically, while if they are not disabled by default, then disabled programmatically and enabled again, they remain non-native.

I have created the jsfiddle below to illustrate:
http://jsfiddle.net/4BBBb/31/

@agcolom

This comment has been minimized.

Show comment
Hide comment
@agcolom

agcolom Mar 23, 2012

Member

This is a duplicate of #3889, but I have updated the the jsfiddle for clarity

Member

agcolom commented Mar 23, 2012

This is a duplicate of #3889, but I have updated the the jsfiddle for clarity

@ghost ghost assigned johnbender Mar 23, 2012

@johnbender

This comment has been minimized.

Show comment
Hide comment
@johnbender

johnbender Mar 23, 2012

Contributor

I can confirm on chrome. Working on a fix now.

Contributor

johnbender commented Mar 23, 2012

I can confirm on chrome. Working on a fix now.

@agcolom

This comment has been minimized.

Show comment
Hide comment
@agcolom

agcolom Mar 23, 2012

Member

Thanks John. #3889 can also be closed as was the same issue.

Member

agcolom commented Mar 23, 2012

Thanks John. #3889 can also be closed as was the same issue.

@agcolom

This comment has been minimized.

Show comment
Hide comment
@agcolom

agcolom Mar 24, 2012

Member

@johnbender If you look at my jsfiddle, now something really strange happens: press the button to enable the second select (the non-native), then press the select. The options appear but with a dark grey layer and it is not possible to choose an option. I am on the iPad with iOS 4.3.3

Member

agcolom commented Mar 24, 2012

@johnbender If you look at my jsfiddle, now something really strange happens: press the button to enable the second select (the non-native), then press the select. The options appear but with a dark grey layer and it is not possible to choose an option. I am on the iPad with iOS 4.3.3

@johnbender

This comment has been minimized.

Show comment
Hide comment
@johnbender

johnbender Mar 24, 2012

Contributor

@agcolom

Hrm I only have the 5.1 emulators. Does it work outside of the fiddle iframe?

http://jsbin.com/ojanut/2

Contributor

johnbender commented Mar 24, 2012

@agcolom

Hrm I only have the 5.1 emulators. Does it work outside of the fiddle iframe?

http://jsbin.com/ojanut/2

@agcolom

This comment has been minimized.

Show comment
Hide comment
@agcolom

agcolom Mar 24, 2012

Member

@johnbender
Here are some screen shots:
http://users.cscs.wmin.ac.uk/~coloma/jqm/select1.png (the 2nd select that becomes enabled, but it looks like the options aren't).
This is what it should look like (the 3rd select) http://users.cscs.wmin.ac.uk/~coloma/jqm/select2.png

I have the feeling the select gets enabled and keeps its non-native 'status' but it looks like the options aren't enabled. Would it be simply a matter of enabling the select and its children?

What is also strange is that the native version is all properly enabled:
http://users.cscs.wmin.ac.uk/~coloma/jqm/select3.png

Member

agcolom commented Mar 24, 2012

@johnbender
Here are some screen shots:
http://users.cscs.wmin.ac.uk/~coloma/jqm/select1.png (the 2nd select that becomes enabled, but it looks like the options aren't).
This is what it should look like (the 3rd select) http://users.cscs.wmin.ac.uk/~coloma/jqm/select2.png

I have the feeling the select gets enabled and keeps its non-native 'status' but it looks like the options aren't enabled. Would it be simply a matter of enabling the select and its children?

What is also strange is that the native version is all properly enabled:
http://users.cscs.wmin.ac.uk/~coloma/jqm/select3.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment