gfranko / jquery.selectBoxIt.js

A jQuery Select Box Plugin for Mobile, Tablet, and Desktop
http://www.selectboxit.com
MIT License
852 stars 301 forks source link

Firefox - native select box and arrow keys #263

Open benicek opened 10 years ago

benicek commented 10 years ago

Hi Greg, when the selectBoxIt has property "native" set to "true" (triggers the native select box), in Firefox (only) cannot be changed the selected item by pressing arrow key up and arrow key down. The other browsers (IE, Chrome) works fine.

This problem can be illustrated on the selectBoxIt home page, in section "Trigger the Native Select Box". Focus the select box by pressing tab key, then try to change value by pressing arrows in Firefox...

Thanks for correction, Pavel

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1836785-firefox-native-select-box-and-arrow-keys?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23157&utm_medium=issues&utm_source=github).
gfranko commented 10 years ago

Hi Pavel,

Unfortunately, when you use the native option, that means you are using the native select box that is available in each browser (which means that there also will be incompatibilities since I cannot control their behavior).

benicek commented 10 years ago

Hi Greg, I understand you cannot control native browser behavior. But mentioned problem appears after the SelectBoxIt is used. Native select, without SelectBoxIt wrapping, works fine in Firefox - after focusing select you can choose item by pressing arrow keys. Please try your sample in part "Trigger the Native Select Box" in Firefox - the select on left (marked "Turns this") works with arrow keys well, the select on right (marked "Into this") do not work. But notice one more thing - after focusing out, the value is changed! So it looks like arrow keys are accepted, but the value is changed only internally and is not immediately visible.

Thanks again Pavel

gfranko commented 10 years ago

I'll look into this again.