- 14 May, 2017 3 commits
- 20 Apr, 2017 1 commit
-
-
Patrick H. Lauke authored
Tweak to https://github.com/twbs/bootstrap/pull/22426, where the wrong selector slipped through the net (selecting all of `<body>`s grand-children rather than children)
-
- 14 Apr, 2017 1 commit
-
-
Patrick H. Lauke authored
* Replace backdrop with simple noop mouse listener As discussed in https://github.com/twbs/bootstrap/pull/22422 the current approach of injecting a backdrop (to work around iOS' broken event delegation for the `click` event) has annoying consequences on touch-enabled laptop/desktop devices. Instead of a backdrop `<div>`, here we simply add extra empty/noop mouse listeners to the immediate children of `<body>` (and remove them when the dropdown is closed) in order to force iOS to properly bubble a `click` resulting from a tap (essentially, method 2 from https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html) This is sufficient (except in rare cases where the user does manage to tap on the body itself, rather than any child elements of body - which is not very likely in an iOS phone/tablet scenario for most layouts) to get iOS to get a grip and do the correct event bubbling/delegation, meaning the regular "click" event w...
-
- 12 Apr, 2017 2 commits
-
-
Patrick H. Lauke authored
...as touch is not exclusive to "mobile" anymore nowadays. also explicitly clarifies this is a fix for iOS, and that it impacts touch laptops etc as well. lastly, renames the variable from "dropdown" to "backdrop" for clarity/consistency
-
Pierre-Denis Vanduynslager authored
-
- 19 Mar, 2017 1 commit
-
-
Pierre Vanduynslager authored
- Create backdrop only if the menu is actually open (do not create it if the show event is prevented) - Drop the backdrop only when the corresponding menu is closed (do not remove if there is no menu to close or if the hide event is prevented)
-
- 08 Feb, 2017 1 commit
-
-
Pierre-Denis Vanduynslager authored
-
- 22 Jan, 2017 1 commit
-
-
Pierre-Denis Vanduynslager authored
-
- 15 Jan, 2017 1 commit
-
-
Pierre-Denis Vanduynslager authored
-
- 06 Jan, 2017 1 commit
-
-
Mark Otto authored
-
- 04 Jan, 2017 1 commit
-
-
Pierre-Denis Vanduynslager authored
-
- 02 Jan, 2017 1 commit
-
-
Pierre-Denis Vanduynslager authored
* Close dropdown menu when focusing an outside element * Update unit test to new markup
-
- 08 Dec, 2016 1 commit
-
-
Starsam80 authored
-
- 26 Nov, 2016 2 commits
-
-
Mark Otto authored
See https://travis-ci.org/twbs/bootstrap/jobs/179010884 for build failure
-
Pierre-Denis Vanduynslager authored
Dropdown perf - on keyboard nav, find active item in the active dropdown rather than the whole document (#19953)
-
- 24 Nov, 2016 1 commit
-
-
Bardi Harborow authored
-
- 25 Oct, 2016 1 commit
-
-
Johann-S authored
-
- 19 Oct, 2016 1 commit
-
-
Mark Otto authored
-
- 05 Sep, 2016 1 commit
-
-
Mark Otto authored
-
- 27 Jul, 2016 1 commit
-
-
Mark Otto authored
-
- 31 May, 2016 1 commit
-
-
Chris Rebert authored
Mostly KeyboardEvent.which and MouseEvent.which values. [skip validator]
-
- 22 May, 2016 1 commit
-
-
Pierre-Denis Vanduynslager authored
Dropdown: remove dependency to role="menu", role="listbox" a and li elements => fix keyboard navigation
-
- 09 Dec, 2015 1 commit
-
-
Chris Rebert authored
Errata from: * 8ce5da30 * 5d3144e8 which missed a few numbers. [skip sauce] [skip validator]
-
- 08 Dec, 2015 1 commit
-
-
Mark Otto authored
-
- 05 Dec, 2015 1 commit
-
-
Chris Rebert authored
[skip sauce] [skip validator]
-
- 03 Dec, 2015 1 commit
-
-
XhmikosR authored
-
- 01 Dec, 2015 1 commit
-
-
Chris Rebert authored
[skip sauce] [skip validator]
-
- 02 Oct, 2015 1 commit
-
-
Johann-S authored
-
- 19 Aug, 2015 1 commit
-
-
Jacob Thornton authored
-
- 15 Aug, 2015 1 commit
-
-
Jacob Thornton authored
-
- 13 May, 2015 1 commit
-
-
fat authored
-
- 11 May, 2015 1 commit
-
-
fat authored
add modal my gawd
-
- 10 May, 2015 1 commit
-
-
fat authored
-