Commit graph

162 commits

Author SHA1 Message Date
Josh Johnson f785360b50 Prevent excessive touchmove variable reassignments 2016-08-07 22:16:05 +01:00
Josh Johnson 998d95a0b2 Version 1.0.56 (Resolve touchstart/move/end bug) 2016-08-07 22:10:21 +01:00
Josh Johnson 6dfeb5a76f CSS tweaks - don't rely on 'pointer-events: none' + only flip if no space in window rather than viewport 2016-08-07 21:05:43 +01:00
Josh Johnson c36e19e20e Fix tap/scroll issues on mobile 2016-08-07 19:03:00 +01:00
Josh Johnson 9e8974adfd Further touchstart tweaks 2016-08-05 20:54:36 +01:00
Josh Johnson 44bc18803e Touchstart dropdown tweak 2016-08-05 20:37:37 +01:00
Josh Johnson e9a0f1c938 Focus input/open dropdown on touchstart for touch devices 2016-08-05 20:28:21 +01:00
Josh Johnson d1a6654623 Hide 'Press enter' dropdown if rejex test fails 2016-08-04 23:02:34 +01:00
Josh Johnson ab8e65689d Press to Enter '...' rather than Add '...' 2016-08-04 22:03:16 +01:00
Josh Johnson 9d1c64171b Kill event listeners when disabling/enabling 2016-08-04 19:30:37 +01:00
Josh Johnson 322f250b7f Highlight/unhighlight callbacks 2016-08-04 13:21:24 +01:00
Josh Johnson 25bc0c87e6 Simplify _createTemplates(); 2016-08-04 07:35:52 +01:00
Josh Johnson 2cfb347c9f Refactoring + tests + documentation 2016-08-03 21:51:24 +01:00
Josh Johnson 1d133307bf Update config/public method tests + minor tweaks" 2016-08-03 19:56:57 +01:00
Josh Johnson 5f91165d4a Custom sorting in config + resolve setChoice bug when searching 2016-08-03 14:23:23 +01:00
Josh Johnson 6d9656bed2 Turn of spellcheck, autocomplete and autocorrect from input 2016-08-03 09:23:39 +01:00
Josh Johnson b7484612eb Configurable sorting fields 2016-08-03 07:43:35 +01:00
Josh Johnson 63bef1ee0e Accessibility tweaks 2016-08-02 22:02:29 +01:00
Josh Johnson 5817ce3a0f Enable() method 2016-08-02 21:10:53 +01:00
Josh Johnson e497999841 Set choice groups via setChoice 2016-08-02 21:02:52 +01:00
Josh Johnson 0ce7c574ea Ability to toggle flipped state 2016-08-02 19:39:24 +01:00
Josh Johnson 3585fdfd6a Ensure focus is consisent across single select boxes with/without search 2016-08-02 14:40:36 +01:00
Josh Johnson 6fadbde79e Ensure enter key can also open single select dropdown 2016-08-02 13:48:17 +01:00
Josh Johnson da68a92f31 Merge branch 'pr-issue-8' of https://github.com/chymz/Choices into chymz-pr-issue-8 2016-08-02 13:32:13 +01:00
Josh Johnson 79c08ceff9 Documentation for 'getValue' method + housekeeping 2016-08-02 07:45:08 +01:00
Simon Babay 1758943d7c getValue() 2016-08-01 21:42:50 +02:00
Simon Babay 1cb566a0f7 Merge fix 2016-08-01 21:30:31 +02:00
Simon Babay 8edb33f511 Merge remote-tracking branch 'refs/remotes/jshjohnson/master'
Conflicts:
	assets/scripts/src/choices.js
2016-08-01 21:27:41 +02:00
Simon Babay c6f9d95359 (select-one) Focus and hidden dropdown with keyboard navigation 2016-08-01 21:26:31 +02:00
Josh Johnson 677d3a5582 Add jQuery example to documentation 2016-08-01 20:00:24 +01:00
Simon Babay c18b9f81e4 (select-one) fix : keep focus after item is selected 2016-08-01 16:48:40 +02:00
Josh Johnson 6a6988f71b Disable touchstart event for now - causing issue with scrolling choices 2016-08-01 14:55:04 +01:00
Simon Babay 4e2b330659 Merged branch master into pr-issue-8 2016-08-01 15:50:08 +02:00
Simon Babay 3c1d0a615b Merge master 2016-08-01 15:49:44 +02:00
Josh Johnson 431e328d3d Resolve issue with single select box toggling 2016-08-01 14:46:51 +01:00
Simon Babay 8d3648e763 (select-one) search = false, click & show dropdown give focus 2016-08-01 15:44:01 +02:00
Simon Babay 611480ab3b (select-one) search = false, on blur hide dropdown 2016-08-01 15:36:29 +02:00
Simon Babay 994e20a4c3 onKeyDown on containerOuter to enable keyboard navigation 2016-08-01 15:35:49 +02:00
Josh Johnson 780a865097 Click toggle single select boxes and use touchstart for touch devices (as well as mousedown) 2016-08-01 14:27:27 +01:00
Josh Johnson e898309fb1 Sprucing up the demo page + scroll to top of option list on search 2016-07-31 22:48:36 +01:00
Josh Johnson 4968d73ede Set value of select input based on choice 2016-07-31 21:05:17 +01:00
Josh Johnson ca39e30684 Set choices directly via public function + callback on change 2016-07-31 20:02:46 +01:00
Josh Johnson e667b61bf2 Only trim string values 2016-07-31 18:38:00 +01:00
Josh Johnson 1e249295ce Ability to define choices in config + minor tweaks 2016-07-30 16:03:20 +01:00
Josh Johnson 064d12400b Ability to specify options via config 2016-07-30 15:50:29 +01:00
Josh Johnson 400a70e5cb Options array in config 2016-07-30 15:12:22 +01:00
Josh Johnson 865ba7d485 Build 2016-07-14 23:21:28 +01:00
Josh Johnson 87ca00ee66 Further single select box tests 2016-07-13 21:40:59 +01:00
Josh Johnson edad6e7638 Array from polyfill - may not need 2016-07-11 15:27:58 +01:00
Josh Johnson 6c753b1078 Further test coverage 2016-07-02 14:48:20 +01:00