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

Opacity on scroll possible to change only through styles prop on ScrollArea #7149

Closed
1 of 2 tasks
dipiash opened this issue Nov 20, 2024 · 1 comment
Closed
1 of 2 tasks
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@dipiash
Copy link
Contributor

dipiash commented Nov 20, 2024

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.14.1

What package has an issue?

@mantine/core

What framework do you use?

Vite

In which browsers you can reproduce the issue?

All

Describe the bug

Try to change thumb opacity through classes, but it's not possible. It's possible only through styles prop with important mark. I use @maintine/emotion.

Example

Styles:

thumb: {
    backgroundColor: '#71717d',
    opacity: '30%',
  },

Component:

<ScrollArea
  classNames={{ thumb: classes.thumb }}
  styles={{ thumb: { opacity: '0.3!important' } }}
>
  children}
</ScrollArea>
image

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue
@rtivital rtivital added the Fixed patch Completed issues that will be published with next patch (1.0.X) label Nov 28, 2024
@rtivital
Copy link
Member

Fixed in 7.14.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)
Projects
None yet
Development

No branches or pull requests

2 participants