Open
Conversation
Currently the event is triggered before dropdown LI's are created. This commit corrects it by moving the trigger event at end of method. A JSFIDDLE was created to demonstrate the issue. http://jsfiddle.net/lagrz/3A5jq/ By moving the event it enables developers to add whatever additional code or styling to the dropdown menu options such as images.
are totally built. Further information about this fix is described in: 3246598
A short delay (currently 50ms) is required after the paste event for the pasted text to enter the textbox. Then we can trigger a `keyup` event as if that copy had just been typed into the box manually.
…vents Add support for paste events
…event-order Trigger/Fire Results Showing Event After Winnow
Empty search triggers "chosen:no_results" event
Add documentation for new `no_results` event
After nightmarishly trying to fix the official 1.1.0 release and update the god-forsaken gh-pages docs, I'm taking credit.
…ltiple's default input
…ults Add a default color to chosen results
proto (+1 squashed commit) Squashed commits: [fe82868] Allow submit with enter if results not showing jQuery
Allow submit with enter if results not showing
Conflicts: sass/chosen.scss
Wrap text for options in multiselect
Abstracted get_search_regex for future testing
…le browsers when using libraries like FastClic.js adding the touch events to the proto version fixing a typo on chosen.proto.coffee
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding touch events to make it compatible with mobile browsers when using libraries like FastClick.js.
It happens that chosen only uses mousedown and mousedown to track mouse events. Libraries like FastClick.js use only an artificial click, firing only the Click event, which is not bound to chosen-single elements rendering them unusable in mobile browsers like Safari.