aboutsummaryrefslogtreecommitdiff
path: root/js/src/modal.js
AgeCommit message (Collapse)AuthorFilesLines
2018-12-21Prep for v4.2.0 releaseMark Otto1-2/+2
- Move 4.1 docs to 4.2 - Update versions everywhere to 4.1.3 with release script - Manually bump the shorthand version in package.json - Add 4.2 to the versions docs page - Update some redirects - Fix tests asset URLs - Bump Nuget and more
2018-12-05Add aria-modal to modals (#27780)Patrick H. Lauke1-0/+2
Dynamically set/remove `aria-modal="true"` when a modal is shown/hidden
2018-11-23Fix body scrolling issue when modal open (#27698)ysds1-2/+2
2018-11-14some cleaning and changes for readabilityJohann-S1-8/+8
2018-10-30test(Modal): check if modal is disposedAndrew Luca1-2/+10
2018-10-30refactor(Modal): add `_isTransitioning` default valueAndrew Luca1-2/+4
Having variables initialised from start `_isTransitioning` is better. Would be better to add an eslint rule to check for undeclared variables use. Reordered enter checks for `show` and `hide` by priority.
2018-10-28calculate modal transition duration based on modal-dialog elementJohann-S1-1/+1
2018-09-26remove useless iifeJohann-S1-443/+439
2018-08-12Use ES6 arrow function.XhmikosR1-1/+1
2018-07-24Ship v4.1.3v4.1.3Mark Otto1-2/+2
2018-07-12Ship v4.1.2Mark Otto1-2/+2
2018-07-11fix(modal): fix unit test and resetting styleJohann-S1-9/+4
2018-07-11fix(modal): removes .navbar-toggler marginCatalin Zalog1-13/+3
2018-06-03refactor(plugins): query elements without jqueryJohann-S1-12/+23
2018-06-01refactor(plugins): improve how we query elementsJohann-S1-4/+8
2018-04-30Bump version to v4.1.1v4.1.1Mark Otto1-2/+2
2018-04-13fix issue related to Object.keys and Dropdown issueJohann-S1-1/+1
2018-04-12modal use global scope for defaultMietekN1-1/+1
2018-04-09Ship v4.1.0 (#26218)v4.1.0Mark Otto1-2/+2
* update docs path from docs/4.0/ to docs/4.1/ * bump version to 4.1.0 * Update redirects to work for 4.1 docs move * Update docs version switcher to include latest and link to 4.0 docs * re-run dist * Update package-lock.json * Update docs-navbar.html
2018-03-20Use transitionEnd in QUnit since we moved away from PhantomJSJohann-S1-11/+6
2018-03-13Variable transition durations (#25662)Martijn Cuppens1-13/+20
2018-02-25Remove unused variable (#25670)Martijn Cuppens1-1/+0
This variable is not used anywhere. Leftover from #18373.
2018-02-21Consistent usage of $(document.body) instead of $('body') (#25671)Martijn Cuppens1-4/+4
2018-01-18Bump version to 4.0.0Mark Otto1-2/+2
2018-01-11Comply to the new rules.XhmikosR1-33/+16
2017-12-28Update version to 4.0.0-beta.3v4.0.0-beta.3Mark Otto1-2/+2
2017-11-13Object spread : less jQuery more ES6 (#24665)Johann-S1-8/+13
2017-10-24Change Rollup config to wrap our dist files with jQuery instead of $Johann-S1-2/+2
2017-10-23Add `Util.jQuery` which will detect jQuery instead of relying on global `$` ↵Johann-S1-1/+1
(#24513)
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