Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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