Comments (5)
@qianshancun Are you talking about #top-chrome-touch-ui
in chrome://flags/ ? If so, I cannot reproduce.
If you're talking about changing the "Device" in the web inspector, this behavior is expected if you're changing to a device with a mobile Android
user-agent. See the third question in the FAQ. Chosen is disabled for any user-agent that includes both Android
and Mobile
.
from chosen.
@qianshancun Are you talking about
#top-chrome-touch-ui
in chrome://flags/ ? If so, I cannot reproduce.If you're talking about changing the "Device" in the web inspector, this behavior is expected if you're changing to a device with a mobile
Android
user-agent. See the third question in the FAQ. Chosen is disabled for any user-agent that includes bothAndroid
andMobile
.
@tjschuck You can do this to reproduce it:
from chosen.
@qianshancun Okay, that's the second thing I mentioned. I can reproduce when I do what's shown in your screenshot, but using those settings, my request has the User Agent Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Mobile Safari/537.36
— that User Agent matches on the Android
+ Mobile
check, so Chosen is intentionally disabled.
See #1388 for more info about why Chosen is disabled in touch environments.
from chosen.
Hi, thanks very much for the information. Is there any way I could keep it enabled? Like passing in an option like this:
$el.chosen({bypass_mobile_disable:true});
from chosen.
There's no existing option like that, no. Your best bet would just be to locally modify the browser_is_supported
check to do what you'd like.
from chosen.
Related Issues (20)
- Is there a way to overwrite container_mousedown in 1.7 version? HOT 1
- Drop down menu issue
- Передача значений в селект HOT 5
- Set height HOT 1
- asp.net mvc drop down list multiple option
- Need help with placeholder and multiple selections
- Feature Request: undelateable
- How to disable the deselect on backspace button?
- [BUG] Doesn't work in WordPress! How to make it work?
- JQuery Chosen Drop Down - Overlaps
- Use `placeholder` attribute on input elements for placeholder text (instead of `value` attribute) HOT 1
- Chrome Update 105.0.5195.102 seems to have broken chosen
- Chosen Widget not recognizing Macron characters for Maori words so unable to search for Nga and Ngā HOT 1
- Broken focus after upgrading to jQuery 3.6.0 HOT 1
- dynamically remove or empty the 2nd select element selected options
- Android Chrome - no search bar / placeholder
- HTML in options
- Deprecation? HOT 2
- SEARCH BUG: Number search does not return obvious correct value. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chosen.