Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny committed Feb 2, 2023
1 parent 8a74f09 commit c7184c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ export const requestFetchReports = store.action((_, url, startDate) => {
*/
const disablePage = () => {
// Setting the majority of the page as inert can have a significant perf hit when
// trying to animate e.g. the navigation drawer, so do it in the frame after this.
// trying to animate e.g. the navigation drawer, so do it in the frame after this
// to avoid blocking on interaction and incurring an INP delay.
requestAnimationFrame(() => {
requestAnimationFrame(() => {
const main = document.querySelector('main');
Expand Down

0 comments on commit c7184c5

Please sign in to comment.