1
0
mirror of synced 2024-11-30 00:26:03 +03:00
Commit Graph

58 Commits

Author SHA1 Message Date
Kevin Brown
940d1f2d67 Better imitate native touch experience 2013-02-11 20:31:18 -05:00
Igor Vaynberg
52c8a9e2cb remove input height css. fixes #587 2013-02-09 23:15:05 -08:00
Igor Vaynberg
a9741f9998 prevent user from selecting text in choices. fixes #551 2013-02-09 20:35:55 -08:00
Igor Vaynberg
ef364d2118 better handling of first character typed. fixes #196 2013-02-08 09:33:18 -08:00
Igor Vaynberg
8332d6a7e9 fix more hierarchical selection bugs. fixes #775 2013-02-01 15:21:07 -08:00
Igor Vaynberg
7a006a7259 fix scroll event handling since it doesnt bubble. also add a shim behind the dropdown, this allows it to properly close even when used inside modals. sometimes modals will place their own shim that closes the modal and aborts the default mousedown event. in such cases the modal would close but the dropdown element would still float on the screen now detached and the only way to close it would be to make a selection 2013-01-31 10:52:18 -08:00
Igor Vaynberg
434827d22c Merge pull request #747 from Kollibri/master
Fix issue with disabled options (Issue #733)
2013-01-24 08:42:06 -08:00
Igor Vaynberg
dc8fbba511 fixes #742 2013-01-24 08:20:46 -08:00
Amanda Myer
795bd884a6 Update select2.css 2013-01-24 11:11:44 -05:00
Amanda Myer
1949f4ce31 Update select2.css
Made disabled results show up disabled, and added a class "selected" for elements that have already been selected (by default, these elements are hidden).
2013-01-24 09:04:05 -05:00
Kevin Brown
66ca10815a Fixes #533: IE Gradients Reversed
Reverses the arguments of the IE filter properties
and removes the gradient on the arrow when the
drop-down is open

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-11-02 08:52:07 -07:00
Igor Vaynberg
4a363c4b30 Merge pull request #503 from todd-givainc/master
Feature: Locked Items
2012-10-24 13:48:46 -07:00
Igor Vaynberg
6e64336af1 fix typo in css 2012-10-16 11:56:18 -07:00
Todd Rafferty
d382f3cdb5 Added .select2-locked 2012-10-16 14:34:55 -03:00
Igor Vaynberg
6e3b7097a3 Merge pull request #495 from swhitt/master
Rename spinner.gif
2012-10-16 10:23:34 -07:00
Inkdpixels
e17f349bf7 Future friendly retina-mq
Using 'dpi' as a unit should be the way to go in the future
2012-10-16 18:34:20 +02:00
Inkdpixels
977ea92d66 Style consistency and proper intendation 2012-10-16 18:28:28 +02:00
Steve Whittaker
7beac3e27c Rename spinner.gif to select2-spinner.gif to prevent collisions with very common filename. 2012-10-13 12:31:25 -05:00
Pedro Nascimento
65d68628b8 Use single quotes for retina image url
This is how all the other images are being referenced.
2012-09-24 14:17:47 -03:00
gladmon
b96ee3fc88 Fix z-index on input text box for single selects.
Using the select2 control in a jquery dialog works fine except for you cannot click on the input box when doing a single select select box. The containing div was given a z-index, but not a position attribute, so the z-index was ignored.
2012-09-19 18:27:18 -03:00
Igor Vaynberg
7ee6446bc5 hide the x when the single select is disabled. fixes #401 2012-09-13 17:16:33 -07:00
Igor Vaynberg
b4371aa253 remove executable permission from files 2012-09-10 10:40:44 -07:00
James Koster
668c49bb21 Retina-ize icons 2012-08-20 16:26:18 +01:00
Igor Vaynberg
92cd1a9037 add vertial align top to select 2 container. fixes #266 2012-08-07 21:50:08 -07:00
Igor Vaynberg
921bf06434 fix and clean the new formatSearching() method. closes #301 2012-08-06 20:35:59 -07:00
Kevin Brown
4344fa054e Added support for limiting selection
Fixes #59

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-07-27 16:04:24 +03:00
bho
63fc044915 Added text-color that contrasts with the selected background-color 2012-07-17 14:57:51 +02:00
Igor Vaynberg
5d2bcd4007 hide things off screen at -10000 px instead of -1000. fixes #220 2012-07-16 11:41:16 +03:00
Igor Vaynberg
482cc409ea dropdown can now open above or below control depending on available screens pace. fixes #120. based on #197 2012-07-11 12:33:38 +03:00
Igor Vaynberg
12d2604ff2 boost z-index so select2 shows over dialogs. fixes #200 2012-07-09 23:16:29 +03:00
Igor Vaynberg
95a144d85e highlighting and keyboard navigation improvements to result list that has optgroups 2012-06-29 20:15:45 -07:00
Igor Vaynberg
0f473423eb remove lineheight from choice label. fixes #147 2012-06-21 21:42:45 -07:00
Igor Vaynberg
16c3d31e06 full tabbing support for the mac. closes #132 2012-06-21 21:18:13 -07:00
Igor Vaynberg
2343572a25 add spinner to search field in multiselect. fixes #130 2012-06-19 22:09:37 -07:00
Igor Vaynberg
8f6513969e when using default formatResult the matching substring is now wrapped in span with class select2-match. fixes issue #137 2012-06-19 21:31:56 -07:00
Ben Walding
437be2d632 Use consistent CSS for image URLs 2012-06-18 14:08:16 +10:00
Christopher Nadeau
b18db15f1e Tweak sub-item css a bit to make blue go full width
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-06-12 22:19:07 -07:00
Christopher Nadeau
6151ddbb0d Add support for hierarchies and unselectable items. issue #58
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-06-12 22:18:54 -07:00
Christopher Nadeau
efccc62510 Few tweaks to multi style
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-06-12 22:18:53 -07:00
Christopher Nadeau
2f3262d39e Absolutely position dropdown. fixes #84.
Changes to detach dropdown and append to body, and absolutely position
dropdown. Fixes clipping problems with overflowing.

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-06-12 22:18:40 -07:00
Igor Vaynberg
588d9a5ce9 force a min height on multi containers, closes #96 2012-06-08 14:32:17 -07:00
Igor Vaynberg
47064b2483 tweak to issue #85 do not highlight items based on keypresses 2012-06-07 23:09:51 -07:00
Adam Solove
ec759ac809 When not showing search box, up/down arrows and searching still work.
- The hidden search box is displayed off-screen instead of taken off the dom.
- User can type a search, but instead of filtering the results, just highlight the first matching result.

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-06-07 21:56:22 -07:00
Igor Vaynberg
98903a4621 css stylying for disabled mode, issue #76 2012-06-06 23:04:14 -07:00
Igor Vaynberg
af6031039a build script 2012-05-16 10:36:28 -07:00
Dean Sofer
37ddcb64a3 Fixed #43
Made the dropdown menu positioned via pure css instead of using
javascript to constantly adjust its position. YAY PERFORMANCE!

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-04-26 19:31:08 -07:00
Igor Vaynberg
b9c79344cd hide selected choices from the results by default. issue #1 2012-04-10 00:42:44 -07:00
Jean Jacques Warmerdam
dca2130d2c Don't remove border, make it transparent to prevent jumping of the page. 2012-04-04 14:34:02 +03:00
Justin DuJardin
fa41027264 Set min-height to 26px for proper input sizing in Opera. 2012-03-31 10:06:34 -07:00
Justin DuJardin
dd0d80532c Fix spinner.gif input jumpiness.
Apply default outline and height properties on the input, to override site-specific CSS input styles.
2012-03-31 10:02:29 -07:00