Mark Otto
1afb6959fa
remove commented out code
2016-12-04 21:05:57 -08:00
Mark Otto
1e3ec89355
Merge branch 'v4-dev' into carousel
2016-12-04 21:05:19 -08:00
Mark Otto
01f81dd552
fix js for previous
2016-12-04 20:27:21 -08:00
Mark Otto
94e2d80af4
pull in js changes from #18830
2016-12-04 19:53:16 -08:00
Johann
297c47c3fd
[V4] Throw error when a plugin is in transition ( #17823 )
...
* Throw error when a plugin is in transition
* Add unit tests about plugins in transition
2016-12-02 09:52:19 -08:00
Bardi Harborow
535fec93cf
Hide popovers when their containing modal is closed. ( #21227 )
2016-11-29 09:45:14 -08:00
Juno_okyo
8c17e5fb3c
Use multi-selector to remove the same event handler ( #20642 )
2016-11-28 13:42:32 -08:00
Mark Otto
82875586c1
Merge branch 'v4-js-carousel' of https://github.com/J2TeaM/bootstrap into J2TeaM-v4-js-carousel
2016-11-28 13:39:56 -08:00
Rob Ruana
5eddb0b0fd
Closes #21055 : Prevents ScrollSpy from clearing active item when Safari rubberbands ( #21056 )
...
When the rubberband effect causes Safari to scroll past the top of the
page, the value of scrollTop becomes negative. If the offset of the first
ScrollSpy target is 0 - essentially if the target is at the top of the
page - then ScrollSpy should not clear the active item. Conceptually, the
first item should remain active when rubberbanding past the top of the
page.
This commit fixes issue #21055 by verifying the first scrollspy target is
not at the top of the page before clearing the active nav-item.
2016-11-27 16:20:33 -08:00
Mark Otto
87a0749f89
Merge branch 'container-tooltip-option' into v4-dev
2016-11-26 17:02:40 -08:00
Mark Otto
b6b8280938
Merge pull request #18900 from vlastikcz/v4-dev-buttonChange
...
Button toggling - trigger change event on input. Fixes #16673 , fixes #17599 .
2016-11-26 01:18:21 -08:00
Mark Otto
ce31f54c36
Merge pull request #19058 from Johann-S/carouselInput
...
Carousel - Do not prevent on keydown for input and textarea
2016-11-26 01:14:55 -08:00
Mark Otto
b110070dcd
Follow up fix to #19953 for linting error in builds
...
See https://travis-ci.org/twbs/bootstrap/jobs/179010884 for build failure
2016-11-26 01:04:02 -08:00
Mark Otto
25d218b02d
Merge branch 'v4-dev-18796' of https://github.com/maxbeatty/bootstrap into maxbeatty-v4-dev-18796
2016-11-26 00:58:51 -08:00
Pierre-Denis Vanduynslager
3606c5b9c5
Dropdown perf - on keyboard nav, find active item in the active dropdown rather than the whole document ( #19953 )
2016-11-26 00:35:49 -08:00
andyexeter
0ded703f6b
Implement container option for tooltips and popovers.
2016-11-26 19:13:15 +11:00
matus
39d7861f34
Scrollspy selecting the last element when at the bottom of the page ( fixes #17739 )
2016-11-25 17:38:42 -08:00
Mark Otto
432fe74c31
Merge branch 'eslint' of https://github.com/bardiharborow/bootstrap into bardiharborow-eslint
2016-11-25 14:59:28 -08:00
Matt Hernandez
b1b1f30cbd
[ Fix #17371 ][V4] Deactivating dropdown links in nav tab ( #17642 )
...
* Fix bug with dropdown tab links not deactivating when other tab or dropdown link is clicked
* Revise bug fix for more stability
2016-11-25 14:56:41 -08:00
Bardi Harborow
c2616fb74e
Make JS compliant with the new ESLint rules.
2016-11-24 11:59:55 +11:00
Johann
a7f1b59959
Making .tooltip('show') throw an error on elements with display:none ( #20940 )
2016-10-31 20:33:53 -07:00
Bardi Harborow
0974267b8c
Move from $.proxy to es6 arrow functions. ( #21049 )
2016-10-31 20:32:36 -07:00
Ilias
bf43936377
Fix #17964 ( #17997 )
...
* Fix #17964
Some browsers are lazy when updating dom elements after transition effects. This can be fixed by reading element properties such as offsetHeight or offsetWidth. However, creating a function using the Function constructor just to access such element, results in a violation of Content Security Policy (where applied), which in turn crashes the application. This fix actually reverts to the way this was handled in v3 and should work as intended.
2016-10-30 14:47:14 -07:00
Johann-S
9d129a43d6
Use a single class name for opened/expanded/shown state of widgets
2016-10-25 14:07:41 +02:00
Mark Otto
73154d0392
Merge pull request #20467 from maxbeatty/v4-dev-17754
...
add support for ol in tab plugin
2016-10-24 20:50:52 -07:00
Mark Otto
60e51bc918
Merge pull request #18847 from Johann-S/fix18824
...
Fix bug multiple accordions collapse
2016-10-24 20:50:04 -07:00
Mark Otto
8ff7edaab4
version bump to alpha 5
2016-10-19 08:27:41 -07:00
Johann-S
9bc7de9395
Fix bug multiple accordions collapse
2016-10-19 09:35:48 +02:00
Johann-S
de1255b14e
Collapse using card component
2016-10-11 13:25:36 +02:00
Mark Otto
259fa88e3e
Merge pull request #17614 from Johann-S/patchTooltip
...
[Fix #17611 ][V4] Change destroy to dispose for tooltip in _JQueryInterface
2016-10-10 13:03:28 -07:00
Mark Otto
4d725c90d6
Merge pull request #17568 from Johann-S/fixCollapseHeight
...
[Fix #17555 ][V4] fix resetting style on closing collapse
2016-10-09 20:32:40 -07:00
Mark Otto
e7f79b32f2
Merge branch 'tooltip-arrow' of https://github.com/brnrdog/bootstrap into brnrdog-tooltip-arrow
2016-10-09 19:56:30 -07:00
Bardi Harborow
2e69dfa8c1
Fix broken/redirected links, moving to HTTPS where possible. ( #20557 )
2016-10-03 09:55:59 -07:00
J2TeaM
4f520c7ff3
Merge #20563 and #20567
2016-09-07 10:09:54 +07:00
J2TeaM
4f5a7c96e7
Fix eslint (prefer-template)
2016-09-07 03:17:19 +07:00
J2TeaM
edc43a4ea6
Remove classes at one time
2016-09-07 02:55:48 +07:00
Mark Otto
5495a4b3d3
versions
2016-09-05 12:41:44 -07:00
Max Beatty
dc1b4e78d4
add support for ol in tab plugin. fixes #17754
2016-08-04 16:57:08 -07:00
Max Beatty
bfa714ae1e
prevent navigating to area href when modal target. fixes #18796
2016-08-04 13:47:30 -07:00
Mark Otto
24e992a6ff
bump versions
2016-07-27 09:31:24 -07:00
Chris Rebert
c955868982
Enable more rules from ESLint 2.0; refs #19999 ( #20076 )
...
[skip sauce]
[skip validator]
2016-06-05 11:17:05 -07:00
Chris Rebert
2b16f5c510
Update ESLint to v2.5.3 ( #20043 )
...
Refs #19908 .
[skip sauce]
[skip validator]
2016-06-04 14:28:34 -07:00
Chris Rebert
5dcd1a743d
Tweak Esc key comment in modal.js
...
[skip sauce]
[skip validator]
2016-05-31 02:19:56 -07:00
Chris Rebert
c4add0c2f3
Comply with consistent-return ESLint rule
2016-05-31 00:45:32 -07:00
Chris Rebert
5a35ad6d74
Use named constants for magic numbers ( #19992 )
...
Mostly KeyboardEvent.which and MouseEvent.which values.
[skip validator]
2016-05-30 23:42:00 -07:00
akai
4d1b9d7ce7
Remove stray "~" in modal paddingRight value ( #19932 )
...
[skip validator]
2016-05-18 13:53:01 -07:00
Patrick H. Lauke
b107e3342a
Handle aria-hidden on modal container when showing/hiding
...
Fixes #19878
2016-05-11 02:01:56 +01:00
Chris Rebert
afdd62d161
Modal: Remove IE8-specific window.innerWidth workaround
...
[skip validator]
2016-04-21 01:15:24 -07:00
Patrick H. Lauke
701b12bf58
Replace jQuery with vanilla JS
2016-02-17 15:21:02 +00:00
Patrick H. Lauke
a496cb8be4
Focus (visually hidden) input radio/checkbox
...
This allows for keyboard navigation (e.g. arrow keys left/right to
trigger different radio buttons) following an initial mouse click
interaction
2016-02-16 14:29:59 +00:00