mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03: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