bootstrap/js/tests/unit
Ryan Weaver 0cb70e214f
Changing Backdrop rootElement to default to a string (#34092)
The current config can cause the "body" to become stale. Specifically,
if the entire body element is swapped out for a new body element, then
the backdrop will continue to append itself to the original body element,
since it's stored in memory as a reference on this object.

This also no longer allows an explicit null to be passed to Backdrop's rootElement

This still accomplishes the laziness of "not finding the rootElement
until the Backdrop is created" to avoid problems of the JavaScript
being included inside <head> (so, before body is available).
2021-05-31 12:35:59 +03:00
..
dom Fix regression for handling mouseenter/mouseleave events introduced by #33310 (#33679) 2021-04-19 08:30:33 +03:00
util Changing Backdrop rootElement to default to a string (#34092) 2021-05-31 12:35:59 +03:00
.eslintrc.json Minor ESLint rules cleanup (#32904) 2021-01-28 11:34:20 +02:00
alert.spec.js Remove potential false positive assertions (#33288) 2021-05-11 08:45:57 +03:00
base-component.spec.js Extract static DATA_KEY & EVENT_KEY to base-component (#33635) 2021-05-11 10:49:30 +03:00
button.spec.js Remove potential false positive assertions (#33288) 2021-05-11 08:45:57 +03:00
carousel.spec.js Remove potential false positive assertions (#33288) 2021-05-11 08:45:57 +03:00
collapse.spec.js Move get element functionality to a helper (#33327) 2021-05-13 18:17:20 +03:00
dropdown.spec.js Automatically select an item in the dropdown when using arrow keys (#34052) 2021-05-22 10:58:52 +03:00
jquery.spec.js tests: replace deprecated jQuery method (#32309) 2020-12-16 17:21:43 +02:00
modal.spec.js Fix prevented show event disables modals with fade class from being displayed again (#34085) 2021-05-24 18:52:36 +03:00
offcanvas.spec.js Fix offcanvas test to expect the initial body overflow value (#33927) 2021-05-11 11:06:32 +03:00
popover.spec.js Allow use of dispose/hide methods on Tooltip & Popover from jQueryInterface, when component does not exists. (#33371) 2021-05-20 16:16:55 +03:00
scrollspy.spec.js Remove potential false positive assertions (#33288) 2021-05-11 08:45:57 +03:00
tab.spec.js Remove potential false positive assertions (#33288) 2021-05-11 08:45:57 +03:00
toast.spec.js Remove potential false positive assertions (#33288) 2021-05-11 08:45:57 +03:00
tooltip.spec.js Allow use of dispose/hide methods on Tooltip & Popover from jQueryInterface, when component does not exists. (#33371) 2021-05-20 16:16:55 +03:00