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

custom scrollbar prevents scroll by dragging #1389

Open
trueight opened this issue Oct 28, 2024 · 4 comments
Open

custom scrollbar prevents scroll by dragging #1389

trueight opened this issue Oct 28, 2024 · 4 comments
Labels
type: documentation A change or addition to the documentation

Comments

@trueight
Copy link

Describe the bug

2024-10-28.16-07-11.mp4

Reproduction

open https://next.shadcn-svelte.com/blocks#sidebar-01

try to scroll sidebar dragging scrollbar

Logs

No response

System Info

.

Severity

annoyance

@huntabyte
Copy link
Owner

We should probably just get rid of the custom scrollbars on the docs tbh

@trueight
Copy link
Author

We should probably just get rid of the custom scrollbars on the docs tbh

I like them! I think the custom ones are much prettier than the standard ones, I understand if they need to be removed because they're hard to maintain, but I'll probably keep using them in my projects

@huntabyte
Copy link
Owner

Yeah but in cases like you show there, they degrade the UX lol

@trueight
Copy link
Author

@huntabyte would it be possible to make the sidebar trigger hoverable only when the mouse is outside the sidebar? that way, when the mouse is inside, it would respond to scrolling and other interactions as expected

image

the red border is the sidebar, and the green border is the toggle. moving the toggle outside the sidebar or making it non-interactive when the mouse is inside the sidebar should solve the issue.

@huntabyte huntabyte added the type: documentation A change or addition to the documentation label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A change or addition to the documentation
Projects
None yet
Development

No branches or pull requests

2 participants