Skip to content

There is a way to change scrollbar inside the react-modal ? #978

Open
@LucasRochaOSF

Description

@LucasRochaOSF

Summary:

Basically, I'm trying to change the scrollbar inside the react-modal component, I'm using inline styles and I've tried to use like this inside the "content" property:

"&::-webkit-scrollbar": {
width: "20px",
},
"&::-webkit-scrollbar-track": {
boxShadow: "inset 0 0 5px grey",
borderRadius: "10px",
},
"&::-webkit-scrollbar-thumb": {
background: "red",
borderRadius: "10px",
},

but not changes, has any way to change the scrollbar with inline styling?

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