Skip to content

[bug]: shadcn/Create: Tailwind data attribute selector fix: data-horizontal / data-vertical → data-[orientation=horizontal] #9196

@sean0205

Description

@sean0205

Describe the bug

It looks like the Tailwind data attribute selectors used for Scroll View orientation incorrectly in the generated base-ui version:

data-horizontal: data-vertical:

Should be changed to:

data-[orientation=horizontal]:
data-[orientation=vertical]:

Affected component/components

scroll-view

How to reproduce

  1. Create shadcn base-ui components
  2. Use Scroll View component
  3. No scrollbar is shown

Codesandbox/StackBlitz link

No response

Logs

System Info

shadcn/create

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions