Add necessary preventInertCheck calls in the DOM driver
This commit is contained in:
parent
c9272ddcc9
commit
92fa548109
|
@ -74,6 +74,7 @@ export function spawnWindowEventFactory(ds: Ref) {
|
|||
"pattern": :pattern P.WindowEvent(\Q.lit($eventType: string), \_)
|
||||
}) => spawn named ['WindowEvent', eventType] {
|
||||
const facet = Turn.activeFacet;
|
||||
facet.preventInertCheck();
|
||||
|
||||
let handler = function (event: Event) {
|
||||
facet.turn(() => {
|
||||
|
@ -347,6 +348,8 @@ function _attributeLike(selector: string,
|
|||
{
|
||||
let savedValues: Array<{node: Element, value: any}> = [];
|
||||
|
||||
Turn.activeFacet.preventInertCheck();
|
||||
|
||||
selectorMatch(document.body, selector).forEach(node => {
|
||||
switch (kind) {
|
||||
case 'attribute':
|
||||
|
|
Loading…
Reference in New Issue