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

Fix RTL Disabled Search Issue #1300

Merged
merged 3 commits into from
Jun 25, 2013
Merged

Fix RTL Disabled Search Issue #1300

merged 3 commits into from
Jun 25, 2013

Conversation

pfiller
Copy link
Contributor

@pfiller pfiller commented Jun 24, 2013

@kenearley @stof

Another easy bug fix (resolves #1298). There's no need for the .chzn-serach div to have positioning unless it also has the .chzn-container-single-nosearch.

chzn-search is a relatively positioned div unless search is disabled
so changing the left position is ineffective.
@@ -5,7 +5,6 @@
<link rel="stylesheet" href="chosen.css" />
<style type="text/css" media="all">
/* fix rtl for demo */
.chzn-rtl .chzn-search { left: -9000px; }
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 kept, but applied on .chzn-rtl .chzn-container-single-nosearch .chzn-search ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the demo doesn't include a RTL version with disabled search - so it's not needed.

@kenearley
Copy link

Looks good. :shipit:

pfiller added a commit that referenced this pull request Jun 25, 2013
@pfiller pfiller merged commit 4fab6b3 into master Jun 25, 2013
@pfiller pfiller deleted the fix-rtl-positioning branch June 25, 2013 18:45
pfiller added a commit that referenced this pull request Jul 2, 2013
Replace prop for jQuery legacy support #1311
Prevent default on arrow down #1309
Explicitly add files for gh-pages #1307
Fix RTL Disabled Search Issue #1300
Fix scroll bug in Prototype version #1301
Read-only search field when search is disabled. #1294
Remove Grunt-Bump #1280
Make sure Chosen isn't disabled before showing results. #1282
Fix choice build after update #1286
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.

"disable_search_threshold" param not work when I set "chzn-rtl" class
3 participants