The default-base theme should only style Radzen components, and leave browser defaults alone #497

Closed
opened 2026-01-29 17:38:17 +00:00 by claunia · 1 comment
Owner

Originally created by @jnsn on GitHub (Aug 7, 2022).

Is your feature request related to a problem? Please describe.

When using the default-base theme, I expected it to leave everything alone and just theme the Radzen components, but it's coloring the browser scrollbar too.

8a8be30657/Radzen.Blazor/themes/components/blazor/_scrollbar.scss (L5-L36)

It took me a good while to figure out where this was coming from, since it's counter intuitive and not documented at all, as far as I found.

Describe the solution you'd like

Don't color the scrollbars using the default-base theme, as this should only style the Radzen components and not interfere with the already present style or default styles.

Describe alternatives you've considered

Improve the documentation that adding the .rz-default-scrollbars class to the body element will not add the styling.

Originally created by @jnsn on GitHub (Aug 7, 2022). <!-- IMPORTANT: Read this first!!! 1. If you own a Radzen Professional or Еnterprise subscription you can request your feature via email at info@radzen.com. Radzen staff will reply within 24 hours (Professional) or 16 hours (Enterprise) 2. The Radzen staff guarantees a response to issues in this repo only to paid subscribers. 3. If you have a HOW TO question start a new forum thread in the Radzen Community forum: https://forum.radzen.com. Radzen staff will close issues that are HOWTO questions. 4. Please adhere to the issue template. --> **Is your feature request related to a problem? Please describe.** When using the `default-base` theme, I expected it to leave everything alone and just theme the Radzen components, but it's coloring the browser scrollbar too. https://github.com/radzenhq/radzen-blazor/blob/8a8be30657266a33670df29fb3b1b3066cc82a2c/Radzen.Blazor/themes/components/blazor/_scrollbar.scss#L5-L36 It took me a good while to figure out where this was coming from, since it's counter intuitive and not documented at all, as far as I found. **Describe the solution you'd like** Don't color the scrollbars using the `default-base` theme, as this should only style the Radzen components and not interfere with the already present style or default styles. **Describe alternatives you've considered** Improve the documentation that adding the `.rz-default-scrollbars` class to the body element will not add the styling.
Author
Owner

@enchev commented on GitHub (Sep 23, 2022):

Fixed in our latest update 4.1.1

@enchev commented on GitHub (Sep 23, 2022): Fixed in our latest update 4.1.1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#497