diff --git a/src/lib/teact/dom-events.ts b/src/lib/teact/dom-events.ts index 1298f5a80..f303fba1a 100644 --- a/src/lib/teact/dom-events.ts +++ b/src/lib/teact/dom-events.ts @@ -3,7 +3,7 @@ import { DEBUG } from '../../config'; type Handler = (e: Event) => void; type DelegationRegistry = Map; -const NON_BUBBLEABLE_EVENTS = new Set(['scroll', 'mouseenter', 'mouseleave']); +const NON_BUBBLEABLE_EVENTS = new Set(['scroll', 'mouseenter', 'mouseleave', 'load']); const documentEventCounters: Record = {}; const delegationRegistryByEventType: Record = {};