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

Bug(react-infinite-viewer) : Scroll bar does not disappear immediately #67

Closed
jiwon79 opened this issue Oct 20, 2023 · 4 comments
Closed
Labels
bug Something isn't working complete

Comments

@jiwon79
Copy link

jiwon79 commented Oct 20, 2023

Problem

�We can use the parameter(displayHorizontalScroll, displayVerticalScroll) to decide whether to show a scroll bar. I made visible variable using useState and button that toggle visible variable. However, the scrollbar does not disappear as soon as the button is pressed. After that, you have to scroll a little bit for it to disappear

Example - Code Sandbox

https://codesandbox.io/p/sandbox/infinite-viewer-r5z5ws?file=%2Fsrc%2FApp.css%3A8%2C16

daybrush added a commit that referenced this issue Oct 31, 2023
@daybrush daybrush added the bug Something isn't working label Oct 31, 2023
@daybrush
Copy link
Owner

@jiwon79

  • infinite-viewer 0.29.1
  • lit-infinite-viewer 0.27.1
  • preact-infinite-viewer 0.25.1
  • react-infinite-viewer 0.28.1
  • svelte-infinite-viewer 0.27.1
  • vue-infinite-viewer 0.27.1
  • vue3-infinite-viewer 0.17.1
  • ngx-infinite-viewer 0.27.1

infinite-viewer's new version is released. Check it again.

@jiwon79
Copy link
Author

jiwon79 commented Nov 1, 2023

I update version infinite-viewer react-infinite-viewer to 0.29.1 and 0.28.1. However the bug is not solved. Please check it in code sandbox link

@daybrush
Copy link
Owner

daybrush commented Nov 1, 2023

I think it's cached with old version.

if you create a new codesandbox, it look like this.

https://codesandbox.io/s/awesome-payne-6klyyn

@jiwon79
Copy link
Author

jiwon79 commented Nov 10, 2023

I �check that it is currently operating normally. thank you

@jiwon79 jiwon79 closed this as completed Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working complete
Projects
None yet
Development

No branches or pull requests

2 participants