Commit Graph

228 Commits

Author SHA1 Message Date
Felix Nagel
a9b18bcfec Selectmenu: add 1px to menu width to avoid wrapping long text in IE10 2013-11-26 00:56:50 +01:00
Felix Nagel
c20f1f8457 Selectmenu: CGL fix 2013-11-13 21:26:48 +01:00
Felix Nagel
51b0429713 Selectmenu: simplify and fix document click event 2013-11-13 19:55:31 +01:00
Felix Nagel
a6c5f58d82 Selectmenu: follow-up to close menu on other element mousedown not on click 2013-10-30 21:36:03 +01:00
Felix Nagel
11186cc10a Selectmenu: make sure ui-state-focus class is set on button after initial focus 2013-10-29 21:49:17 +01:00
Felix Nagel
027d8d4cab Selectmenu: close menu on other element mousedown not on click 2013-10-29 20:54:16 +01:00
Felix Nagel
f3e4b24485 Selectmenu: improve disabled item handling 2013-10-29 19:52:54 +01:00
Felix Nagel
2c7e3389bc Selectmenu: remove widthMenu option and rename widthButton option to width 2013-10-24 00:11:10 +02:00
Felix Nagel
80d2c1180a Selectmenu: lint fix 2013-10-21 21:18:33 +02:00
Felix Nagel
67e7f18d08 Selectmenu: add ui-state-active class to active list item 2013-10-21 20:39:15 +02:00
Felix Nagel
7af3dab075 Selectmenu: Remove links in menu items 2013-10-10 01:01:41 +02:00
Felix Nagel
f2d06bf063 Selectmenu: add widthMenu and widthButton options 2013-09-29 15:33:14 +02:00
Felix Nagel
b1532ed4ae Selectmenu: Click on button text does not open menu in Webkit browsers 2013-09-26 01:10:16 +02:00
Felix Nagel
b80681c74e Selectmenu: remove unneeded variable usage 2013-09-25 22:30:13 +02:00
Felix Nagel
12dba998f1 Selectmenu: do not follow anchor link when item is clicked 2013-09-25 22:27:03 +02:00
Scott González
f416a66f59 Selectmenu: Code review. 2013-09-16 14:45:48 -04:00
Felix Nagel
bdfe7196a2 Selectmenu: lint fix 2013-08-31 11:50:53 +02:00
Felix Nagel
67f04e4e42 Selectmenu: update button text when selected option is added 2013-08-31 03:09:57 +02:00
Kris Borchers
5a24ee0485 Selectmenu: Override menu's _closeOnDocumentClick function to prevent collapseAll and manually fix focus state on open 2013-08-11 19:17:34 -05:00
Felix Nagel
e217c40287 Selectmenu: introduce _position method for easier extending 2013-07-11 00:45:54 +02:00
Felix Nagel
da4e23874d Selectmenu: remove ui-front from button 2013-07-09 23:03:40 +02:00
Felix Nagel
009aa6a953 Selectmenu: add ui-front class to all appended elements 2013-07-09 22:49:08 +02:00
Felix Nagel
ff1bb14579 Selectmenu: prevent widget from item looping 2013-07-01 22:23:12 +02:00
Felix Nagel
bfd3c4aace Selectmenu: remove unused var 2013-05-30 21:25:36 +02:00
Felix Nagel
7be7d96ee2 Selectmenu: use that.focusIndex != null instead of !== undefined when checking first focus event 2013-05-30 21:25:15 +02:00
Felix Nagel
dfbd712d99 Selectmenu: fire focus event when menu is opened 2013-05-30 21:05:48 +02:00
Felix Nagel
a572f72dde Selectmenu: do not call focus menu method when close method us used 2013-05-30 21:04:45 +02:00
Felix Nagel
7e0737edc0 Selectmenu: recheck refresh fallback for IE and add a comment 2013-05-16 22:54:29 +02:00
Felix Nagel
ddf13472dd Selectmenu: use dynamic binding for document event 2013-05-15 21:04:10 +02:00
Felix Nagel
61be0e5eb0 Selectmenu: using prop instead of attr to receive disabled state 2013-04-29 23:24:15 +02:00
Felix Nagel
70a43607fa Selectmenu: do not call _getCreateOptions directly 2013-04-29 23:21:17 +02:00
Felix Nagel
b8339ebc46 Selectmenu: use outerWidth for menu width calculation 2013-04-29 23:13:26 +02:00
Felix Nagel
666927ba91 Selectmenu: add renderItemData method similar to autocomplete 2013-04-29 23:05:07 +02:00
Felix Nagel
d4f13bc213 Selectmenu: add spaces 2013-04-29 22:36:37 +02:00
Felix Nagel
17b6ff71dc Selectmenu: use guard clause for option length checking in refresh 2013-04-29 22:23:11 +02:00
Felix Nagel
ee9c4434c2 Selectmenu: adjust comments, trim trailing spaces 2013-04-29 22:19:53 +02:00
Felix Nagel
0631d7666f Selectmenu: rename var to focusIndex 2013-04-29 22:15:50 +02:00
Felix Nagel
5e9ad9b434 Selectmenu: blank before comment 2013-04-29 22:15:29 +02:00
Felix Nagel
00ab497923 Selectmenu: improve readability when creating button elements 2013-04-29 22:14:50 +02:00
Felix Nagel
8b4a3044cb Selectmenu: set aria states as string if needed 2013-04-29 22:07:41 +02:00
Felix Nagel
b84cd7e686 Selectmenu: simplify tabindex attribute setting on button create 2013-04-29 22:04:56 +02:00
Felix Nagel
68c7485ed9 Selectmenu: Comments start with an uppercase letter 2013-04-29 22:01:51 +02:00
Felix Nagel
a29cfb8bf4 Selectmenu: don't quote click, remove extraneous space 2013-04-29 21:59:55 +02:00
Felix Nagel
60eed79390 Selectmenu: improve id generation 2013-04-29 21:54:36 +02:00
Felix Nagel
26c528a4a3 Selectmenu: Updating to use instance method on bridge, see 4fce29e935 2013-03-19 20:27:12 +01:00
Felix Nagel
ba0e8040f0 Selectmenu: add ui-state-disabled and aria-disabled manually as its removed from Widget, see 44d07173db 2013-03-19 20:20:06 +01:00
Jörn Zaefferer
775b81b9e6 Selectmenu: Remove aria-selected, since that only causes NVDA to announce 'not selected', doesn't have any positive effect 2013-03-09 13:00:38 +01:00
Felix Nagel
66ba39094e Selectmenu: remove button wrapper element 2013-03-07 23:53:15 +01:00
Jörn Zaefferer
022079a782 Selectmenu: Switch to span to avoid cranky click/keydown event handling 2013-03-07 23:23:10 +01:00
Felix Nagel
6e80a19d02 Selectmenu: improve keyboard control 2013-03-07 22:57:49 +01:00