We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1c524f commit 6d68a8dCopy full SHA for 6d68a8d
packages/scan/src/new-outlines/index.ts
@@ -348,6 +348,7 @@ export const getCanvasEl = () => {
348
window.addEventListener('resize', () => {
349
if (!isResizeScheduled) {
350
isResizeScheduled = true;
351
+ // TODO(Alexis): bindable
352
setTimeout(() => {
353
const width = window.innerWidth;
354
const height = window.innerHeight;
@@ -382,6 +383,7 @@ export const getCanvasEl = () => {
382
383
window.addEventListener('scroll', () => {
384
if (!isScrollScheduled) {
385
isScrollScheduled = true;
386
387
388
const { scrollX, scrollY } = window;
389
const deltaX = scrollX - prevScrollX;
0 commit comments