FF: actually prevent scrolling in focusNoScroll
This commit is contained in:
parent
18b20d13be
commit
240ccc8309
|
@ -915,7 +915,7 @@
|
||||||
el.focus({preventScroll: true});
|
el.focus({preventScroll: true});
|
||||||
el = null;
|
el = null;
|
||||||
if (window.scrollY !== y || window.scrollX !== x) {
|
if (window.scrollY !== y || window.scrollX !== x) {
|
||||||
window.scrollTo(x, y);
|
setTimeout(window.scrollTo, 0, x, y);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user