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

Add note that Chosen is disabled on mobile #1741

Merged
merged 2 commits into from
Jan 24, 2014
Merged

Conversation

tjschuck
Copy link
Member

@harvesthq/chosen-developers Follow up on this comment -- we never actually note anywhere that Chosen is disabled by default on iPhone/Android, and that the supported browsers we mention are the desktop versions of those browsers.

@@ -1430,7 +1430,7 @@
</li>
<li>
<h3>What browsers are supported?</h3>
<p>All modern browsers are supported (Firefox, Chrome, Safari and IE9). Legacy support for IE8 is also enabled.</p>
<p>All modern desktop browsers are supported (Firefox, Chrome, Safari and IE9). Legacy support for IE8 is also enabled. Chosen is disabled on iPhone, iPod, and Android devices (<a href="https://github.com/harvesthq/chosen/pull/1388">more information</a>).</p>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be iPad rather than iPod ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iPad is supported, iPod is iPod touch ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah -- that made the copy a little complicated. I wanted to simply say "iOS", but that's inaccurate, because iPad is still supported.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it also disabled on Android for tablets ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depends on the user agent, unfortunately, and I don't know just how standardized they are -- it is disabled if the user agent says both Android and Mobile. I don't know if all Android tablets skip the "Mobile" language -- @koenpunt, you added the regex in 3e54b0d, do you know?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That depends on the vendor of the browser. According to a comment here http://stackoverflow.com/a/5344382/189431 some vendors (read; Samsung) do add Mobile to the user-agent of tablet devices.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the copy slightly here: 589d211

@koenpunt
Copy link
Collaborator

LGTM. :shipit:

tjschuck added a commit that referenced this pull request Jan 24, 2014
Add note that Chosen is disabled on mobile
@tjschuck tjschuck merged commit 01ebb11 into master Jan 24, 2014
@tjschuck tjschuck deleted the chosen_on_mobile_docs branch March 4, 2015 16:02
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

Successfully merging this pull request may close these issues.

3 participants