Skip to content

adding touch events for chosen-single#1

Open
bukue wants to merge 31 commits intomasterfrom
adding-touch-events-for-single
Open

adding touch events for chosen-single#1
bukue wants to merge 31 commits intomasterfrom
adding-touch-events-for-single

Conversation

@bukue
Copy link
Owner

@bukue bukue commented Feb 6, 2014

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.

lagrz and others added 30 commits August 15, 2013 17:38
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.
…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.
…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
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
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.

8 participants