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

Remove scrollbar #29

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

Conversation

ninadnaik10
Copy link

I noticed that when deleting a task, the task falls and scrollbar appears. The scrollbar shrinks the page for a moment which does not look good. So I hid it from the body tag. I know this approach is not good for accessibility but it would help the webpage look nicer.

@tusharnankani
Copy link
Owner

Hi @ninadnaik10

Thank you for opening this PR.
I faced this issue in #22, and at that point in time, I thought it was fixed.
But now, if you try to add more that 7-8 todos (in 100% desktop size), you'll realize, you won't be able to scroll.

PS: Try your deployed PR here: https://deploy-preview-29--tusharjustdoit.netlify.app

So, implementing a fix like this or what was done earlier; is like hiding the problem, rather than fixing it.

Thank you for bringing this to my notice. Will be reopening #22 and the fix is to always have a scrollbar fixed. So, the screen doesn't shrink — when the scrollbar appears.

Would you like to work on this PR?

@ninadnaik10
Copy link
Author

Hi @tusharnankani
I saw the deployed PR and it seems an issue. I would like to work on this PR. Thank you!

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.

2 participants