Skip to content

Commit

Permalink
Debug: see if compositing layer size is more reasonable when divs wit…
Browse files Browse the repository at this point in the history
…h fixed position are not inserted into content
  • Loading branch information
gwwar committed Jun 18, 2021
1 parent 01f5e38 commit 3b377ef
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function useTabNav() {
}
}

const before = (
let before = (
<div
ref={ focusCaptureBeforeRef }
tabIndex={ focusCaptureTabIndex }
Expand All @@ -79,7 +79,7 @@ export default function useTabNav() {
/>
);

const after = (
let after = (
<div
ref={ focusCaptureAfterRef }
tabIndex={ focusCaptureTabIndex }
Expand Down Expand Up @@ -148,5 +148,7 @@ export default function useTabNav() {

const mergedRefs = useMergeRefs( [ container, ref ] );

before = null;
after = null;
return [ before, mergedRefs, after ];
}

0 comments on commit 3b377ef

Please sign in to comment.