mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 00:54:04 +02:00
Fix handling of transitionend events dispatched by nested elements(#33845)
Fix handling of transitionend events dispatched by nested elements Properly handle events from nested elements Change `emulateTransitionEnd` to `executeAfterTransition` &&
This commit is contained in:
@@ -446,7 +446,7 @@ describe('Tooltip', () => {
|
||||
const tooltip = new Tooltip(tooltipEl)
|
||||
document.documentElement.ontouchstart = noop
|
||||
|
||||
spyOn(EventHandler, 'on')
|
||||
spyOn(EventHandler, 'on').and.callThrough()
|
||||
|
||||
tooltipEl.addEventListener('shown.bs.tooltip', () => {
|
||||
expect(document.querySelector('.tooltip')).not.toBeNull()
|
||||
|
Reference in New Issue
Block a user