Merge pull request #1770 from arggh/fix-scroll-binding

Add missing check for update lock
pull/1775/head
Rich Harris 6 years ago committed by GitHub
commit cbfcde3cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -157,7 +157,7 @@ export default class WindowWrapper extends Wrapper {
[bindings.scrollX, bindings.scrollY].map(
binding => binding && `changed["${binding}"]`
).filter(Boolean).join(' || ')
}) {
} && !${lock}) {
${lock} = true;
clearTimeout(${timeout});
window.scrollTo(${

Loading…
Cancel
Save