Skip to content

Issue Fixing::Zooming In Browser && Eslint React Exhaustive Deep Chec…#3

Open
ANUPAMCHAUDHARY1117 wants to merge 1 commit intoupmostly:masterfrom
ANUPAMCHAUDHARY1117:updating-and-fixing
Open

Issue Fixing::Zooming In Browser && Eslint React Exhaustive Deep Chec…#3
ANUPAMCHAUDHARY1117 wants to merge 1 commit intoupmostly:masterfrom
ANUPAMCHAUDHARY1117:updating-and-fixing

Conversation

@ANUPAMCHAUDHARY1117
Copy link

When we zoom in chrome and many other browsers, the height comes in decimal points, to fix this issue, I wrapped it in Math.ceil function and to avoid React Exhaustive Deep Check, I moved the handleScroll function inside useEffect.

…ks:: When we zoom in chrome and many other browsers, the height comes in decimal points, to fix this issue, I wrapped it in Math.ceil function and to avoid React Exhaustive Deep Check, I moved the handleScroll function inside useEffect.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant