aboutsummaryrefslogtreecommitdiff
path: root/js/src/modal.js
AgeCommit message (Collapse)AuthorFilesLines
2020-06-25Prevent overflowing static backdrop modal animation (#30326)Shohei Yoshida1-1/+14
Co-authored-by: XhmikosR <[email protected]>
2020-06-16Rename "master" to "main". (#31050)XhmikosR1-1/+1
2020-06-04Add role="dialog" in modals via JavaScript (#30936)Rohit Sharma1-0/+2
2020-05-13Bump version to 5.0.0-alpha1 (#29925)XhmikosR1-2/+2
Also add v4.5.0 in versions and keep README.md pointing to v4.5.0 so that there are no broken stuff.
2020-05-12Avoid bad scrollbar replacement into width valuesGiovanni Mendoza1-1/+1
2020-05-06Revert "Avoid bad scrollbar replacement into width values (#30690)"XhmikosR1-3/+2
This reverts commit 85c4788dedfdec7d681829e3a52ada0c33f8fa8e.
2020-04-29Avoid bad scrollbar replacement into width values (#30690)Johann-S1-2/+3
2020-04-17Replace event.which with event.key and event.buttonTanguy Krotoff1-3/+3
2020-04-01Always modal scroll top to 0ysds1-4/+2
2020-03-25fix: remove make array util function (#30430)Johann-S1-5/+4
2020-03-18Switch to strings constants.XhmikosR1-81/+75
This allows the minifier to mangle the constants. It also allows the linter to find unused strings properly. While at it, remove a few unused properties. File Before After Diff -------------------------------------------------------- bootstrap.bundle.min.js 23.61 kB 22.61 kB -1.00 kB (-4.23 %) bootstrap.min.js 17.04 kB 16.08 kB -0.96 kB (-5.63 %)
2020-01-10Close modal with keyboard=true & backdrop=static (#29986)Giovanni Mendoza1-2/+5
* Close modal with keyboard=true & backdrop=static
2019-10-25Added animation when modal backdrop is static (#29516)Higor Araújo dos Anjos1-8/+24
2019-10-03return to the original file structure to avoid breaking modularityJohann-S1-0/+604
2019-07-23rewrite modal unit testsJohann-S1-615/+0
2019-05-08Rename `eventHandler` and `selectorEngine` files.XhmikosR1-2/+2
2019-03-11Remove obsolete comments.XhmikosR1-1/+0
2019-03-11Comply to the new rules.XhmikosR1-79/+83
2019-02-26move util in a util folder with the sanitizerJohann-S1-23/+32
2019-02-20use our selector engine instead of native apiJohann-S1-1/+1
2019-02-20minor jQuery.hasclass removal (#28158)Joshua Wilson1-1/+1
2019-02-20Refactor util plugin and some testsJohann-S1-2/+1
2019-02-20chore(update): bump to 4.1.3Johann-S1-13/+11
2019-02-20fix(plugins): save instance in constructorJohann-S1-2/+1
2019-02-20fix(manipulator): increase coverage for manipulatorJohann-S1-10/+10
2019-02-20fix(data): do not use data object in our unit testsJohann-S1-0/+4
2019-02-20remove old references to jquery and some fixesJohann-S1-3/+3
2019-02-20Rewritten modal without jquery (#23955)Alessandro Chitolina1-117/+122
* Trigger jquery events if available in event handler * Rewritten modal without jquery
2019-02-20Remove jQuery from Util.jsJohann-S1-4/+8
s
2019-02-13Release v4.3.1. (#28252)v4.3.1XhmikosR1-2/+2
2019-02-11Release v4.3.0 (#28228)v4.3.0Mark Otto1-2/+2
* Prep for v4.3.0 * More updates for v4.3.0. * rerun to build docs source map
2019-01-20Scrollable modal (#27769)Shohei Yoshida1-1/+8
2018-12-21Bump to v4.2.1 (#27892)v4.2.1Mark Otto1-2/+2
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