Git Product home page Git Product logo

Comments (8)

GewoonJaap avatar GewoonJaap commented on August 15, 2024 1

Found a workaround, open the scroll-area-scrollbar.svelte

Add these styles:

	.visible {
		visibility: visible !important;
	}
	.visible > * {
		visibility: visible !important;
	}

Add the following class to both the thumb and scrollbar: visible

afbeelding
Now the thumb is always visible. (Somehow after using this hack the thumbs where visible again even without the style???)

from shadcn-svelte.

Lakelimbo avatar Lakelimbo commented on August 15, 2024

Can't reproduce. Both on Chrome and Edge on Windows I can scroll horizontally with my mouse (holding shift + scrolling) on the docs example.
On your Stackblitz demo, however, for some reason it takes some seconds until I can scroll after the page is fully loaded. But on my end, on the docs, it's normal.

from shadcn-svelte.

neckaros avatar neckaros commented on August 15, 2024

Can't reproduce. Both on Chrome and Edge on Windows I can scroll horizontally with my mouse (holding shift + scrolling) on the docs example. On your Stackblitz demo, however, for some reason it takes some seconds until I can scroll after the page is fully loaded. But on my end, on the docs, it's normal.

Thanks for the reply. On windows we are expected to use shift + scroll only? Why is there no scrollbar like on Mac Safari?

On Shadcn (non svelte) i do have the horizontal scrollbar:
https://ui.shadcn.com/docs/components/scroll-area

from shadcn-svelte.

Lakelimbo avatar Lakelimbo commented on August 15, 2024

Can't reproduce. Both on Chrome and Edge on Windows I can scroll horizontally with my mouse (holding shift + scrolling) on the docs example. On your Stackblitz demo, however, for some reason it takes some seconds until I can scroll after the page is fully loaded. But on my end, on the docs, it's normal.

Thanks for the reply. On windows we are expected to use shift + scroll only? Why is there no scrollbar like on Mac Safari?

On Shadcn (non svelte) i do have the horizontal scrollbar: https://ui.shadcn.com/docs/components/scroll-area

There is for me. It only shows when you hover over the scroll area. On light mode it's light grey, so it might be a bit difficult to see at a glance:
image

from shadcn-svelte.

neckaros avatar neckaros commented on August 15, 2024

weird

Scroll-area.-.shadcn_ui.-.Google.Chrome.2024-05-21.12-57-55.mp4

from shadcn-svelte.

GewoonJaap avatar GewoonJaap commented on August 15, 2024

I am having the same issue. Scrollbar isn't visible on my website and the bit-ui demo (https://www.bits-ui.com/docs/components/scroll-area). However it is visible on the shadcn website. If I copy paste the scroll area demo code from the shadcn website there is no scrollbar to be found :(

from shadcn-svelte.

GewoonJaap avatar GewoonJaap commented on August 15, 2024

afbeelding
afbeelding

from shadcn-svelte.

GewoonJaap avatar GewoonJaap commented on August 15, 2024

When using devtools on firefox and enabling the repsonsive design modus and selecting a phone/tablet, then on hover I can see the scrollbar appearing, on desktop it stays invisible

from shadcn-svelte.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.