Skip to content

[Scrollbar] data-state not set for type "always" #3637

@DasProffi

Description

@DasProffi

Bug report

Current Behavior

When the ScrollArea Scrollbar type is set to "always" the HTML Element of the Scrollbar does not have the data-state attribute.

Expected behavior

The HTML Element of the Scrollbar has the data-state="visible" attribute.

Reproducible example

Suggested solution

Add the data-state="visible" attribute to the HTML Element of the Scrollbar when it is always visible.

Your environment

Software Name(s) Version
Radix Package(s) radix-ui 1.4.2
React n/a 18.3.1
Browser Chrome 138.0.7204.168
Assistive tech
Node n/a v22.15.0
npm/yarn/pnpm npm 10.9.2
Operating System ubuntu 24.04.2 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions