aboutsummaryrefslogtreecommitdiff
path: root/js/src/modal.js
AgeCommit message (Collapse)AuthorFilesLines
2017-10-19fix version numberMark Otto1-2/+2
2017-10-19new version numberMark Otto1-2/+2
2017-10-10Modal plugin set _isTransitioning after the trigger of hide eventJohann-S1-6/+6
2017-10-04Fix modal buglucascono1-1/+1
Fix for issue #24117
2017-10-04Use imported jQuery objectJohann-S1-1/+1
2017-09-03Merge branch 'v4-dev' into fix-jumping-modal-on-resizeJohann-S1-2/+4
2017-09-02Merge branch 'v4-dev' into fix-unwanted-padding-on-modalJohann-S1-1/+2
2017-08-31Create a bundled release of Bootstrap with Popper.js insideJohann-S1-1/+2
2017-08-29Fix failing testDavid Bailey1-0/+2
_adjustDialog should be called when the modal is first displayed to prevent it jumping position when the viewport is resized
2017-08-28Use getBoundingClientRect instead of jQueryDavid Bailey1-1/+2
2017-08-28Use jQuery outerWidth instead of offsetWidthDavid Bailey1-1/+1
2017-08-28Fix unwanted body padding when a modal opensDavid Bailey1-1/+1
Prevents the test from failing
2017-08-25Fix sticky margin when a modal is opened (#23669)David Bailey1-2/+10
* Adjust margin for sticky elements on modal Previously white space was visible to the right of sticky elements due to right padding being added to the body. This fixes #23661. * Add unit tests for margin of sticky elements on modal
2017-08-23Tweak ESLint rules.XhmikosR1-1/+1
2017-08-10bump to betav4.0.0-betaMark Otto1-2/+2
2017-04-09Prevent default for ESC in modal.jsPatrick H. Lauke1-0/+1
ESC can be used to close modals, but on OS X/macOS this also jumps out of full-screen mode. `preventDefault` suppresses this.
2017-04-02Fix #18373: properly adjust padding-right of body and fixed elements when ↵Ilias1-11/+43
opening or closing modal
2017-03-28Fix JS components console error "Error: <Component> is transitioning"Pierre Vanduynslager1-9/+10
2017-03-23Fix Modal documentation about _handleUpdate method + move to public scope ↵Johann1-5/+4
(#21877) Fix Modal documentation about _handleUpdate method + move to public scope
2017-03-18HTMLElement.offset* by getBoundingClientRect() (#21788)Pierre Vanduynslager1-1/+1
* Replace element.offet* by getBoundingClientRect() * Use variable to store BoundingClientRect * Fix cc issue...
2017-01-06version bumpMark Otto1-2/+2
2017-01-02update seletors in jsMark Otto1-1/+1
2016-12-07Rename `.active` to `.show`Starsam801-5/+5
2016-12-02[V4] Throw error when a plugin is in transition (#17823)Johann1-5/+23
* Throw error when a plugin is in transition * Add unit tests about plugins in transition
2016-11-28Use multi-selector to remove the same event handler (#20642)Juno_okyo1-4/+1
2016-11-26Merge branch 'v4-dev-18796' of https://github.com/maxbeatty/bootstrap into ↵Mark Otto1-1/+1
maxbeatty-v4-dev-18796
2016-11-24Make JS compliant with the new ESLint rules.Bardi Harborow1-22/+22
2016-10-31Move from $.proxy to es6 arrow functions. (#21049)Bardi Harborow1-6/+4
2016-10-25Use a single class name for opened/expanded/shown state of widgetsJohann-S1-5/+5
2016-10-19version bump to alpha 5Mark Otto1-2/+2
2016-09-05versionsMark Otto1-2/+2
2016-08-04prevent navigating to area href when modal target. fixes #18796Max Beatty1-1/+1
2016-07-27bump versionsMark Otto1-2/+2
2016-05-31Tweak Esc key comment in modal.jsChris Rebert1-1/+1
[skip sauce] [skip validator]
2016-05-30Use named constants for magic numbers (#19992)Chris Rebert1-1/+2
Mostly KeyboardEvent.which and MouseEvent.which values. [skip validator]
2016-05-18Remove stray "~" in modal paddingRight value (#19932)akai1-1/+1
[skip validator]
2016-05-11Handle aria-hidden on modal container when showing/hidingPatrick H. Lauke1-0/+2
Fixes #19878
2016-04-21Modal: Remove IE8-specific window.innerWidth workaroundChris Rebert1-7/+1
[skip validator]
2015-12-22Modal: Ignore spurious `focus` event that Firefox fires at `document` when ↵Chris Rebert1-2/+3
switching back to its tab Fixes #18365 Refs https://bugzilla.mozilla.org/show_bug.cgi?id=1228802
2015-12-08Update version numbers using npm scriptChris Rebert1-1/+1
Errata from: * 8ce5da30260c1368ae97838fcf010375071a7243 * 5d3144e8fb5c7202991b7614d77dfc00903fcb2e which missed a few numbers. [skip sauce] [skip validator]
2015-12-08manually bump versions because npm script wasn't working for meMark Otto1-1/+1
2015-12-05Fix version numbers is JS files; fixes #18435Chris Rebert1-2/+2
[skip sauce] [skip validator]
2015-12-03Tweak ESLint rules.XhmikosR1-4/+4
2015-11-03Add eslint no-undef rule and resolve errorsJon Tewksbury1-1/+1
2015-10-02Add throw error for undefined method on pluginsJohann-S1-1/+3
2015-09-03Modals: Fix bad paddingRight calculation; fixes #17399muzige20001-1/+1
We want to sum two numbers, not concatenate their stringifications. Closes #17457 by merging a tweaked version of it.
2015-08-18js tests passing + eslintJacob Thornton1-7/+11
2015-08-15change modal.js to use is-fixed classes to target padding-rightJacob Thornton1-7/+8
2015-08-12fix modalJacob Thornton1-1/+1
2015-05-13add simple type checker implementationfat1-1/+14