-
Notifications
You must be signed in to change notification settings - Fork 104
[OverflowToolbarToggleButton | Styling]: can't apply custom style to visible text #6808
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
Comments
Hi @gaeun-gabie
the Since both the
Please add an isolated, reproducible example for this behavior, as for me styling the text worked via standard CSS. |
Hi @Lukas742 |
@gaeun-gabie you have to make sure to install the correct dependencies. Since the React Please keep in mind that we will only support v1 until end of June and will only downport bugfixes and no features.
Yes, via by leveraging the part pseudo element of the The linked PR will add this to the documentation. |
@Lukas742 thank you so much for the reply. I also thought about this approach before, but this approach will require lots of change and testing since it will override default styling for actions (hover, focus, active). I will re-consider this approach. |
@gaeun-gabie If you'd like to customize the interactive styles, you'll need to use CSS. If you want to override only specific styles, then you can also do that via CSS. That said, since we've documented the part attributes, I'll go ahead and close this issue. If you encounter any issue specific to the |
Describe the bug
The OverflowToolbarToggleButton component doesn't have a separate tag for the text, and there is no way to apply styling specifically to the text. We tried adding a wrapper around the text, which helped with updating the styling. However, there was an issue with the button: its focus is on the label during the mouse down event, so the button doesn't update to the active state (i.e., the button colour doesn't change to indicate that it's being pressed). Also, the button state was successfully updated to active state.
can't repro on OverflowToolbarButton
Isolated Example
No response
Reproduction steps
...
Expected Behaviour
Should change colour to indicate it's being pressed
Screenshots or Videos
No response
UI5 Web Components for React Version
1.29.14
UI5 Web Components Version
1.24.13
Browser
Chrome
Operating System
ios
Additional Context
No response
Relevant log output
Organization
No response
Declaration
The text was updated successfully, but these errors were encountered: