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

Feat Request: scrollbar can display absolutely, not resize the container width/height. #8

Open
chioio opened this issue Mar 22, 2023 · 4 comments

Comments

@chioio
Copy link

chioio commented Mar 22, 2023

Hope to provide a property to set scrollbar display absolutely on the container, not resize the containers width or height.

@action-hong
Copy link
Member

action-hong commented Mar 27, 2023

sorry, i don't understand,can you provide a css code about "display absolutely, not resize the container width/height."
@chioio

@chioio
Copy link
Author

chioio commented Mar 31, 2023

sorry, i don't understand,can you provide a css code about "display absolutely, not resize the container width/height." @chioio
Like this:
image
But display this:
image

@amihhs
Copy link

amihhs commented Nov 27, 2023

If I understand correctly, adding overflow: scroll; can achieve the effect you want.
image

@Jannchie
Copy link

I think the effect he wants is for the scrollbar to float above the content without taking up space in Windows, similar to how it appears on macOS or iOS. However, this library uses CSS to style the scrollbar, and it doesn’t seem to support this. To achieve a similar effect, the native scrollbar must be hidden and simulated using the DOM.

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

No branches or pull requests

4 participants