Johann-S
ef1ce9ac0b
Fix triggering of {shown,hidden}.bs.dropdown events so relatedTarget gets set properly
...
Fixes #16828
Closes #16865
2015-07-27 00:58:51 -07:00
Mark Otto
83bfff7f07
bump version
2015-06-16 09:10:22 -07:00
Patrick H. Lauke
5fd7bc1554
generalize dropdowns / drop role="menu"
...
as role="menu" is a very specific (and strict) ARIA pattern for
desktop-like application menus, and our dropdowns are often used
as pure navigation dropdowns, this change abandons ARIA menus for
a more open-ended and light-weight approach
(see http://heydonworks.com/practical_aria_examples/#submenus and
http://www.w3.org/WAI/tutorials/menus/flyout/#improve-screen-reader-support-using-wai-aria )
note that in dropdown.js, switched to now target ``.dropdown-menu``
instead of ``role["menu"]`` - this also prevents bootstrap scripts
from "bleeding" into non-bootstrap components on the same page.
also removed the ``role=["listbox"]`` part, which appears to be
vestigial/unused (only place in bootstrap that uses that
role are carousels, and their key handling is done separately)
2015-06-02 11:03:21 +01:00
XhmikosR
3e7ca3bbc8
Minor lint tweaks.
2015-04-28 11:03:37 +03:00
Chris Rebert
b8935a5d0c
Use .dropdown-menu instead of ARIA roles for dropdown keydown event handler; fixes #16090
2015-04-08 19:20:15 -07:00
Emmanuel Bourgerie
fa9d28b634
Fix #16072 : Clicking into input field within dropdown no longer closes the dropdown
...
Closes #16073 by merging it
2015-03-21 16:00:15 -07:00
Chris Rebert
9aad9a4164
Merge pull request #16024 from twbs/unnecessary-parsing
...
avoid unnecessary HTML string building+parsing
2015-03-18 22:28:07 -07:00
Chris Rebert
4d652035dc
v3.3.2 => v3.3.4
2015-03-16 08:39:31 -07:00
Chris Rebert
a14665e73e
avoid unnecessary HTML string building+parsing
2015-03-09 06:47:34 -07:00
vsn4ik
b395f3526e
Dropdowns: Skip .disabled
instead of .divider
on keydown event
...
Fixes #15147 .
Closes #15520 by merging it.
2015-02-26 06:42:09 +01:00
Mark Otto
c683e7dea7
bump versions
2015-01-19 08:32:13 -08:00
Zlatan Vasović
576230b92a
Happy New Year 🎅
2015-01-01 01:23:48 +01:00
Mark Otto
9a7e365c2c
bump version to v3.3.1
2014-11-12 09:03:16 -08:00
Heinrich Fenkart
1d55ada581
Dropdown: ignore keydown events coming from input
s and textarea
s
...
Fixes #15084 .
2014-11-12 02:01:25 +01:00
Mark Otto
94b59b57d6
version bump
2014-10-29 08:56:20 -07:00
Ben-Russell
68b771a057
Independently delegate data-api selectors
...
Fixes #14462 .
Closes #14463 by merging it.
2014-10-29 04:54:53 +01:00
Heinrich Fenkart
fe51148434
Merge pull request #14669 from vsn4ik/dropdown_event_target
...
Use e.target instead :focus selector.
2014-10-23 06:13:46 +02:00
fat
e5fc22ccfa
Escape key should only close Dropdown
2014-10-02 21:11:17 -07:00
vsn4ik
bd66b12a94
Use e.target instead :focus selector.
2014-09-23 13:19:15 +04:00
fat
4775c9296a
Merge branch 'dropdown-aria' of git://github.com/mckramer/bootstrap into mckramer-dropdown-aria
...
Conflicts:
docs/_includes/js/dropdowns.html
2014-07-21 22:44:35 -07:00
Mark Otto
ff6b279b3c
bump to v3.2.0
2014-06-26 09:13:24 -07:00
Chris Rebert
c2c19a4d2d
Revert UMD ( #13772 & friends) for now, due to #13812 .
...
Will hopefully revert this reversion and land a fully-working version of UMD in v3.3.0.
Revert "some changes from #13801 - add strict mode back and =="
This reverts commit 2b302f69ee
.
Revert "Fix regression of #10038 introduced by #13772 "
This reverts commit e9d6756a1a
.
Revert "MD/CommonJS/Globals #12909 "
This reverts commit 1c6fa9010d
.
Revert "address #13811 "
This reverts commit f347d7d955
.
Conflicts:
js/carousel.js
js/collapse.js
js/dropdown.js
js/modal.js
js/tab.js
js/tooltip.js
2014-06-23 11:11:59 -07:00
Heinrich Fenkart
587451ad9a
Update a few source files to comply to new JSCS rules
2014-06-19 21:08:05 +02:00
fat
2b302f69ee
some changes from #13801 - add strict mode back and ==
2014-06-12 11:11:04 -07:00
Heinrich Fenkart
e9d6756a1a
Fix regression of #10038 introduced by #13772
2014-06-12 06:00:02 +02:00
Katie Zhu
1c6fa9010d
MD/CommonJS/Globals #12909
2014-06-10 17:16:29 -07:00
Max Kramer
ee12ce8305
Add aria-haspopup and aria-expanded attributes to dropdown plugin
...
1. Add aria-haspopup="true" and aria-expanded="false" to dropdown docs
2. Toggle aria-expanded between "true" and "false" when opening and closing dropdown
Satisfy item 1 from https://github.com/paypal/bootstrap-accessibility-plugin#dropdown . See #13553 .
2014-05-22 18:13:41 -04:00
fat
f219fee07b
versions
2014-05-12 21:15:16 -07:00
Collin Donahue-Oponski
a9f2b6ce0f
#11464 - Fix JS noConflict mode - Refactor all plugins to use an internal reference to the jQuery plugin, because in noConflict mode you can never expect to be defined on the jQuery object
2014-04-21 23:03:33 -06:00
fat
f2af95353e
fixes #13296 Dropdown disappears with right-click on Firefox
2014-04-15 21:52:34 -07:00
Collin Donahue-Oponski
d7a3771abd
When opening the dropdown, focus() the dropdown-toggle BEFORE triggering 'shown.bs.dropdown'
...
Closes #11281 by merging it (after rebasing & resolving conflicts)
2014-04-08 22:36:21 -07:00
Chris Rebert
297303a7cc
use quotes around all element attr vals in JS; fixes #12946
2014-03-06 11:12:17 -08:00
Heinrich Fenkart
8a78bc065f
Remove event aliases from JavaScript
...
Makes life for people with custom jQuery builds excluding event aliases much easier.
2014-02-16 21:00:04 +01:00
Mark Otto
88fdd45427
v3.1.1 bump
2014-02-13 01:12:26 -08:00
Mark Otto
1409cde7e8
Bump versions, run grunt
2014-01-30 08:30:37 -08:00
Chris Rebert
5f328dce88
Merge pull request #12057 from ZDroid/nl
...
'use strict' on new line
2014-01-07 00:31:27 -08:00
Julian Thilo
7fcfe61f4d
Update copyright notices in all places
...
- Implements new format "Copyright 2011-xxxx Twitter, Inc.", which resonates well with our History page and more accurately reflects the copyright status of the repo
- grunt dist to update all the files
2014-01-07 01:05:24 +01:00
Zlatan Vasović
0f060e7bc4
'use strict' on new line
2014-01-01 15:42:41 +01:00
Zlatan Vasović
1c83d68ca4
New Year
2014-01-01 15:37:08 +01:00
fat
2a0b99104c
Merge branch 'dropdown-aria-roles' of git://github.com/plumlee/bootstrap into plumlee-dropdown-aria-roles
...
Conflicts:
js/dropdown.js
2013-12-29 19:23:15 -08:00
fat
76f0d0ff32
fixes #11373 - adds related target to dropdown events
2013-12-29 18:57:22 -08:00
Mark Otto
679c786237
roll back version numbers to avoid broken links in docs and readme ( fixes #12000 )
2013-12-24 12:16:17 -08:00
fat
22f9767714
check that href id's are followed by valid char – fixes #10044
2013-12-18 21:14:01 -08:00
Chris Rebert
df3716647d
update licensing header in JS files & run grunt
2013-12-18 15:29:19 -08:00
Mark Otto
e8e60ae4bc
version bump
2013-12-18 14:56:08 -08:00
Zlatan Vasović
ba3639b202
Require comma on left side
2013-12-16 18:06:31 +01:00
Scott Plumlee
bbe551044c
Allow listbox AIRA role on dropdown component.
2013-12-10 14:17:32 -05:00
XhmikosR
eca8ff3803
Use single quotes consistently.
2013-12-08 12:44:14 +02:00
Chris Rebert
351f86e1db
fix some JS to pass jscs
2013-12-06 17:23:45 -08:00
mdxs
f7d21d6919
Dropping unused variable in dropdown.js
...
Dropping an unused variable in the Dropdown function inside the `dropdown.js` code.
There are no new/changed unit tests, as there are no feature/bug changes requiring new test cases.
For the record: I agree to dual-license this contribution under the Apache 2 and MIT licenses.
2013-12-04 11:15:48 +01:00