2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00
Commit Graph

11099 Commits

Author SHA1 Message Date
Adrien Jarthon df96c3e615 Added non-regression test & fixed existing one 2015-03-29 14:59:21 +02:00
Adrien Jarthon 0e8e5222ff Tooltip/popover: Fix auto placement to use viewport
Currently, auto placement is using the container dimensions (if provided) or the element's parent to determine where to open the tooltip:
```javascript
var $container   = this.options.container ? $(this.options.container) : this.$element.parent()
var containerDim = this.getPosition($container)
```
This is quite broken in fact, because the parent element could be just a small div outside the element for example, leading in a totally random placement (placing the tooltip on top even if there's no room). And the container can also be outside of the viewport.

This fix simply uses the viewport instead, that's the purpose of the viewport actually, to position the tooltip.
So the auto placement should use it to find where there's more room.
By default this is body, which is good.
2015-03-25 18:05:58 +01:00
Chris Rebert 2f3076f20a add missing <code> within docs heading for .modal('handleUpdate') 2015-03-24 15:15:21 -07:00
Chris Rebert d37bc2ae65 Merge pull request #15987 from twbs/fix-15972
add role="button" to a[data-toggle="collapse"]
2015-03-24 08:57:56 -07:00
Patrick H. Lauke 3685aff68f Merge pull request #16140 from patrickhlauke/toggle-navigation-aria-expanded
Add aria-expanded to navbar toggles
2015-03-24 10:48:36 +00:00
Patrick H. Lauke 04280335f6 Add aria-expanded and aria-controls to docs navbar toggle
Also, use id rather class name for the navigation, as it's unique and
lets us use correct aria-controls (and without the use of id,
aria-expanded does not get updated correctly by the current dropdown
toggle script)
2015-03-24 10:32:53 +00:00
Patrick H. Lauke dc4aa004d4 Add aria-expanded to navbar toggles 2015-03-24 10:30:12 +00:00
Patrick H. Lauke 13546cac35 Merge pull request #16136 from patrickhlauke/docs-tooltip
Callout for tooltips and keyboard/AT accessibility
2015-03-23 22:18:39 +00:00
Patrick H. Lauke 6c2548e031 Move all tooltip callouts into appropriate section
Before, most callouts hierarchically came under Examples > Four
directions, which is not appropriate. Now they're under Markup
2015-03-23 22:06:22 +00:00
Patrick H. Lauke debcb1de59 Callout for tooltips and keyboard/AT accessibility
Include callout explicitly mentioning tooltips should only be added to
focusable elements. Closes #16134
2015-03-23 21:53:30 +00:00
Bootstrap's Grunt bot e22a73fd38 automatic grunt dist 2015-03-21 23:10:30 +00: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 74ae498800 Fix #16117 more permanently/generically 2015-03-21 15:33:13 -07:00
Patrick H. Lauke 777c013997 Merge pull request #16117 from vsn4ik/inc_quick_start
Increment quick start options to six in readme.md
2015-03-21 10:11:47 +00:00
vsn4ik a07bc07889 Increment quick start options to six
[skip validator]
[skip sauce]
2015-03-21 08:21:39 +03:00
Rodrigo Prado fbe0836a8f Add docs on how to install Bootstrap via composer
Closes #16113
Closes #16114

[skip sauce]
2015-03-20 18:42:03 -07:00
Chris Rebert fb74d72764 Merge pull request #16107 from vikynandha/migration-doc
Add `.alert-warning` related change to migration doc
2015-03-19 10:03:48 -07:00
Vignesh Nandha Kumar 5281d7b4bc Add .alert-warning related change to migration doc 2015-03-19 17:27:38 +05:30
Bootstrap's Grunt bot eece194763 automatic grunt dist 2015-03-19 05:30:30 +00: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 cb4144af85 Merge pull request #16101 from guybedford/master
Update jspm configuration
2015-03-18 22:04:54 -07:00
Guy Bedford 09ccd432b8 update jspm configuration 2015-03-18 12:59:55 +02:00
Bootstrap's Grunt bot f5250d0a0e automatic grunt dist 2015-03-16 15:50:28 +00:00
Chris Rebert a10eb60bc0 full grunt v3.3.4 2015-03-16 08:44:41 -07:00
Chris Rebert 312e527cb0 BootstrapCDN: v3.3.2 => v3.3.4 2015-03-16 08:41:00 -07:00
Chris Rebert 8dbdb8f977 Sass: v3.3.3 => v3.3.4 2015-03-16 08:40:34 -07:00
Chris Rebert 4d652035dc v3.3.2 => v3.3.4 2015-03-16 08:39:31 -07:00
Chris Rebert 66ceae7b75 Clarify that role="button" is required for dismiss-on-next-click popovers
Refs #15947
2015-03-16 00:57:23 -07:00
Bootstrap's Grunt bot 026e7ccf4e automatic grunt dist 2015-03-15 21:50:31 +00:00
Chris Rebert 43b8fd88d0 Merge pull request #16043 from maxstorm/backward-scrolling
ScrollSpy: Fixed proper nav element selection when scrolling upwards
2015-03-15 14:47:00 -07:00
Chris Rebert d74608b934 Bump bootstrap-sass download link to Sass-specific v3.3.3
bootstrap-sass v3.3.2 is broken.
Refs https://github.com/twbs/bootstrap-sass/issues/862
Refs https://github.com/twbs/bootstrap-sass/releases/tag/v3.3.3
Refs https://github.com/twbs/bootstrap-sass/commit/daeb43dcc7b0ab06328acaca0549ee68c039aaa6
2015-03-15 05:07:48 -07:00
Bootstrap's Grunt bot fc99118179 automatic grunt dist 2015-03-15 11:30:30 +00:00
XhmikosR d18a043ddc Run grunt. 2015-03-15 04:27:44 -07:00
XhmikosR 0ca3fa42e8 Bump devDependencies. 2015-03-15 04:26:35 -07:00
Chris Rebert f3ae9430f2 Document that .progress-bar-striped doesn't work in IE<=9; fixes #16058
[skip sauce]
2015-03-13 13:53:12 -07:00
Bootstrap's Grunt bot ba1345f144 automatic grunt dist 2015-03-10 20:20:23 +00:00
Gleb Mazovetskiy a3b6c9072c Remove trailing whitespace in forms.less 2015-03-10 20:16:10 +00:00
Maxim Andrukhovych 83371735fc Fixed proper navigation element selection on backward scrolling (from the bottom to the top) 2015-03-10 20:04:15 +00:00
Bootstrap's Grunt bot 9d0259d8d1 automatic grunt dist 2015-03-10 18:50:26 +00:00
Patrick H. Lauke 03579c3f55 Merge pull request #16042 from jpkleemans/patch-1
Increment quick start options in readme.md to five
2015-03-10 18:41:16 +00:00
Jan-Paul Kleemans ad5c64a24f Increment quick start options to five 2015-03-10 18:57:02 +01:00
Chris Rebert 5b5c61bb30 Merge pull request #16036 from twbs/cr-readonly-focus-outline-bug
Add Wall of Browser Bugs entry for #16022
2015-03-10 03:39:51 -07:00
Chris Rebert a890ebde94 Add Wall of Browser Bugs entry for #16022
[skip sauce]
[skip validator]
2015-03-10 03:29:58 -07:00
Chris Rebert 1383b88328 Merge pull request #16012 from twbs/refs-12761
Disable jQuery event aliases when running test suite
2015-03-09 17:47:51 -07:00
Bootstrap's Grunt bot f972a84dd7 automatic grunt dist 2015-03-09 16:21:12 +00:00
Chris Rebert f65bd7bed0 Merge pull request #16021 from twbs/visibility-block
rm `visibility` where redundant to `display`
2015-03-09 09:14:16 -07:00
Bootstrap's Grunt bot fbc5d8ee41 automatic grunt dist 2015-03-09 14:03:04 +00:00
Chris Rebert e4d6fbf715 Merge pull request #16023 from twbs/doc-body
Affix: $('body') => $(document.body)
2015-03-09 06:58:03 -07:00
Chris Rebert a14665e73e avoid unnecessary HTML string building+parsing 2015-03-09 06:47:34 -07:00
Chris Rebert a5243ad3d0 Affix: $('body') => $(document.body) 2015-03-09 06:43:41 -07:00