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
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/index.html
Expand Up @@ -1430,7 +1430,7 @@ <h3>Something doesn't work. Can you fix it?</h3>
</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

</li>
<li>
<h3>Didn't there used to be a Prototype version of Chosen?</h3>
Expand Down
2 changes: 1 addition & 1 deletion public/index.proto.html
Expand Up @@ -1432,7 +1432,7 @@ <h3>Something doesn't work. Can you fix it?</h3>
</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>
</li>
</ul>

Expand Down