Pierre-Denis Vanduynslager
d1b742f228
Use pageYOffset instead of scrollY
2017-01-04 11:42:08 -08:00
Johann-S
0463b01282
Close #21090 - Fix aria-pressed attribute for buttons in container with data-toggle='buttons'
2017-01-04 11:02:16 +01:00
Mark Otto
56f917dd8c
grunt
2017-01-03 13:16:18 -08:00
Pierre-Denis Vanduynslager
bbb0d2b573
Dropdown: close menu when focusing outside element ( #21375 )
...
* Close dropdown menu when focusing an outside element
* Update unit test to new markup
2017-01-02 14:44:27 -08:00
Mark Otto
9fc54f89f4
grunt
2017-01-02 11:54:28 -08:00
Mark Otto
c61a0059ad
update seletors in js
2017-01-02 11:52:38 -08:00
Mark Otto
20b05e42e3
update rest of docs, remove navbar specific modifiers, fix docs example css
2017-01-02 11:48:51 -08:00
Heinrich Fenkart
daff021578
grunt
2017-01-01 03:21:02 +01:00
Mark Otto
e2b6badb86
v4: Rip out IE compatibility mode meta tags ( #21483 )
...
* Remove IE compatibility mode meta tag from docs, examples, and JS tests as we no longer support IE9 and IE8
* update and remove some IE bits from our supported browser page
* update introduction.md to match
* reword starter template intro
2016-12-31 12:20:32 -08:00
Johann-S
026e1a1421
Allow to use nav with tab JS
2016-12-31 00:54:00 -08:00
Mark Otto
d935cca9f6
one more test file
2016-12-31 00:52:08 -08:00
Mark Otto
55413e109f
nuke local test vendor jquery and tether, replace with docs assets
2016-12-31 00:52:08 -08:00
Johann-S
719318f485
Update visual test carousel
2016-12-31 00:51:19 -08:00
Mark Otto
92fa9b2256
fix navbar in dropdown visual test file
2016-12-30 22:45:39 -08:00
Bardi Harborow
a8100e1f01
Extend ESLint to cover all JS files and drop JSCS.
2016-12-31 16:49:15 +11:00
Johann-S
95ce03f000
Close #21249 : Add a Unit test for #21227
2016-12-29 13:28:42 -08:00
Mark Otto
d3646e3884
grunt
2016-12-27 14:27:41 -08:00
Max Beatty
aa7f95fd77
update click state when hiding so can be shown again by trigger. fixes #16732
2016-12-27 14:19:12 -08:00
Mark Otto
0e8ee1bfba
grunt
2016-12-25 15:47:03 -08:00
Alessandro Rodi
9103bffe37
[ Fix #19849 ] Tabs are opened even if disabled. ( #20795 )
...
* [Fix #19849 ] Tabs are opened even if disabled.
* fix hund code review hints
* rollback hound issues because Travis fails
2016-12-24 23:31:34 -08:00
Mark Otto
cd18ee8af6
grunt
2016-12-24 14:29:41 -08:00
Johann-S
b0508a975d
Closes : #21412 : Fix unit test for carousel
2016-12-23 22:56:55 +11:00
Matheus Azzi
dab6a41e04
Carousel: Only prevents default for ARROW_LEFT and ARROW_RIGHT keys
...
Fixes 2 bugs:
1. All keydowns were being prevented. Because of that the user wasn't able to navigate in the whole page using ARROW_UP/ARROW_DOWN.
2. Even when is an input or textarea the keydowns were being prevented. Because of that the user wasn't able to type any text on these elements.
2016-12-23 17:55:40 +11:00
mr-july
1d6cdb65b3
scrollspy: fix wrong activation of all nested links ( #20304 )
...
* fix wrong activation of all nested links;
just first level item should be activated
* use template instead of string concatenation
2016-12-22 22:00:56 -08:00
Mark Otto
1f9619a517
Merge branch 'patch-1' of https://github.com/tracker1/bootstrap into tracker1-patch-1
2016-12-21 20:34:29 -08:00
Mark Otto
ab38529dcc
grunt
2016-12-19 21:48:24 -08:00
Mark Otto
8eeb71c91c
Merge branch 'fix-20982' of https://github.com/Starsam80/bootstrap into Starsam80-fix-20982
2016-12-19 21:44:03 -08:00
Mark Otto
cd76a6775d
grunt
2016-12-07 20:46:17 -08:00
Starsam80
d991c868a4
Fix tabs by using new classes
2016-12-07 21:20:18 -07:00
Starsam80
bf39bb3ac3
Rename .active
to .show
2016-12-07 21:20:15 -07:00
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
Mark Otto
3ec37d4a4d
grunt
2016-12-02 10:13:36 -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
Mark Otto
59dc3e174d
grunt
2016-11-29 21:37:00 -08:00
Bardi Harborow
535fec93cf
Hide popovers when their containing modal is closed. ( #21227 )
2016-11-29 09:45:14 -08:00
Mark Otto
9749bab4ce
grunt
2016-11-28 17:18:44 -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
Mark Otto
d6c1fa37bd
grunt
2016-11-28 13:36:46 -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
0b8a281920
grunt
2016-11-26 19:17:23 -08:00
Mark Otto
87a0749f89
Merge branch 'container-tooltip-option' into v4-dev
2016-11-26 17:02:40 -08:00
Mark Otto
c7b8451cdc
grunt
2016-11-26 11:16:53 -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
bb6c197d9b
grunt
2016-11-26 01:04:12 -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
19ab4873ff
grunt
2016-11-26 01:00:16 -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
Mark Otto
e953d5d4f0
grunt
2016-11-26 00:40:17 -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
Johann
ce18a66809
Add test unit to check logic of ignoreBackdropClick ( #18245 )
2016-11-25 22:57:20 -08:00
matus
d328c911cb
Added a virtual test
2016-11-25 17:39:00 -08: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
49be9bc63a
grunt
2016-11-25 15:00:23 -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
Bardi Harborow
26c16743fc
Refactor ESLint configuration.
2016-11-24 11:59:55 +11:00
Bardi Harborow
b9e7cef965
Update visual tests.
2016-11-13 02:34:18 +11:00
Mark Otto
cd5c7a2263
grunt
2016-10-31 21:36:10 -07:00
Mark Otto
ffaad0a819
Responsive display utilities ( #20934 )
...
* Explore responsive display utils, but with a twist: lowest breakpoint has no breakpoint modifier in the class name
* make floats use the same format, add float-none mixin
2016-10-31 21:27:56 -07:00
Mark Otto
76d53404b5
grunt
2016-10-31 21:14:23 -07: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
Mark Otto
d1171ac44a
grunt
2016-10-30 15:21:53 -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
Mark Otto
c01fa6b369
Merge pull request #17536 from Johann-S/testPadding
...
[Fix #17400 ] Add tests about padding restoration
2016-10-28 13:46:14 -07:00
Mark Otto
9dbfc90eae
grunt
2016-10-27 09:51:22 -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
d4d53cad96
grunt
2016-10-19 08:28:19 -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
Mark Otto
6d6538fc81
grunt
2016-10-16 19:44:11 -07:00
vsn4ik
85327e4f9a
v4: Fix outdated utilites classes
2016-10-12 01:46:10 +03: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
7407518fd1
grunt
2016-10-09 20:39:50 -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
4493701ee2
grunt
2016-10-09 20:26:49 -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
Mark Otto
571e86e770
grunt
2016-10-09 17:26:51 -07:00
Mark Otto
6def7a5d56
Merge pull request #20555 from bardiharborow/updatedeps
...
Update dependencies, including Babel to v6 and zeroUnits fix.
2016-10-09 17:08:39 -07:00
Mark Otto
a2a53cb8c5
grunt
2016-10-09 12:39:56 -07:00
Bardi Harborow
d57d5a606b
Update dependencies, including Babel to v6 and zeroUnits fix.
2016-10-09 12:15:17 +11:00
Bardi Harborow
2e69dfa8c1
Fix broken/redirected links, moving to HTTPS where possible. ( #20557 )
2016-10-03 09:55:59 -07:00
VarelloThemes
63129112bb
replace some profanities ( #20715 )
2016-09-15 09:39:31 -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
d90d060c8c
grunt
2016-09-05 12:42:12 -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