aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit/modal.spec.js
AgeCommit message (Expand)AuthorFilesLines
2024-02-18Selector Engine: fix multiple IDs (#39201)GeoSot1-0/+29
2024-02-06Build(deps-dev): Bump eslint-config-xo from 0.43.1 to 0.44.0 (#39651)dependabot[bot]1-1/+3
2023-03-29Tweak and re-organize ESLint config (#38369)XhmikosR1-4/+4
2022-09-15Fix modal event listeners (#37128)Jérémie Broutier1-0/+30
2022-09-07Fix modal event-listeners during dismiss click (#36863)GeoSot1-0/+4
2022-07-15Standardization of `spyOn` usage (#36742)Julien Déramond1-3/+3
2022-06-21fix: change dismiss handler, listening to key down, instead of click (#36401)GeoSot1-6/+13
2022-05-31JS: tests fixes & standardization of spies usage (#36398)Louis-Maxime Piton1-48/+48
2022-05-12Revert backdrop utilization, handling clicks over modal (#36324)GeoSot1-7/+3
2022-03-01Modal: refactor listeners to reduce some code noise (#35902)GeoSot1-2/+2
2022-02-19tests: revisit all tests using Promise.reject instead of throwing an error (#...GeoSot1-12/+12
2022-01-30Modal.js: remove unnecessary checks from testGeoSot1-4/+0
2022-01-30Modal: handle click event from backdrop callbackGeoSot1-4/+7
2022-01-30tests: replace 'done' callback with 'Promise' to fix deprecation errors (#35659)GeoSot1-648/+714
2021-12-02Tests: Minor fixes (#35455)Louis-Maxime Piton1-4/+2
2021-12-01tests: remove extra spaces, unneeded arrays and add missing newlinesXhmikosR1-3/+1
2021-12-01tests: tweak Jasmine's matchers usageXhmikosR1-13/+13
2021-11-25Add test for modal-contentGeoSot1-0/+32
2021-10-13tests: try to fix a few random failures (#35184)GeoSot1-1/+2
2021-10-08tests: minor cleanup (#35138)XhmikosR1-2/+0
2021-10-05Enable `unicorn/no-array-for-each` ruleXhmikosR1-4/+3
2021-09-15Rename `e` to `event` (#34979)XhmikosR1-14/+14
2021-08-10Fix modal when is triggered by `bs-toggle`, to hide other open instances (#34...GeoSot1-0/+23
2021-07-30Enable a few eslint-config-xo rules (#34620)XhmikosR1-2/+2
2021-07-27Add shift-tab keyboard support for dialogs (modal & Offcanvas components) (#3...Ryan Berliner1-24/+30
2021-07-19modal: change `data-dismiss` so that it can be outside of a modal using `bs-t...GeoSot1-1/+28
2021-06-06Refactor scrollbar.js to be used as a Class (#33947)GeoSot1-10/+9
2021-06-03Add `getOrCreateInstance` method in base-component (#33276)GeoSot1-0/+54
2021-06-03Fix handling of transitionend events dispatched by nested elements(#33845)alpadev1-0/+23
2021-05-24Fix prevented show event disables modals with fade class from being displayed...alpadev1-1/+30
2021-05-20Add Tests on scrollbar.js & better handling if a style property doesn't exist...GeoSot1-208/+4
2021-05-18Reset inside a Dialog does not work if `data-dismiss="modal"` is set (#33928)GeoSot1-0/+54
2021-05-11Remove potential false positive assertions (#33288)Ben Lertlumprasertkul1-19/+19
2021-04-25Scrollbar: respect the initial body overflow value (#33706)GeoSot1-8/+3
2021-04-18modal.js: fix test for scrollbar (#33666)GeoSot1-4/+6
2021-04-14Js: fix some testsGeoSot1-10/+9
2021-04-11Decouple Modal's scrollbar functionality (#33245)GeoSot1-39/+13
2021-04-08Remove unnecessary `data-bs-backdrop="static"` (#33578)Rohit Sharma1-3/+3
2021-04-06Simplify Modal configGeoSot1-1/+18
2021-02-23modal: don't add margin & padding when sticky is not full width (#30621)Muhammadamin1-0/+24
2021-02-22Allow constructors to accept a CSS selector (#32245)Rohit Sharma1-0/+13
2021-02-16Add tests for `DATA_KEY` (#33090)GeoSot1-0/+6
2021-01-13Throw a `TypeError` instead of the generic `Error` (#32585)Rohit Sharma1-4/+2
2021-01-13Fix toggling modal when clicking on `data-bs-toggle="modal"` (#32691)Rohit Sharma1-1/+10
2020-11-29Switch to Jasmine's `toBeInstanceOf` matcherXhmikosR1-1/+1
2020-11-29create a base componentJohann-S1-0/+1
2020-11-20Add missing tags in unit tests (#32221)Rohit Sharma1-15/+15
2020-11-20Don't hide modal when keyboard is set to false in modal's configuration (#32179)Rohit Sharma1-3/+2
2020-11-14Switch to Number propertiesXhmikosR1-6/+6
2020-11-14Add `bs` in data attributesRohit Sharma1-27/+27