-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Before you submit this issue, have you checked the following
- Is this really a problem?
- I have searched the Github Issues for similar issues, but did not find anything.
Affected packages and versions
latest
Reproduction link
Sheets. After we selected a new text or background color, we previously observed that the color of the corresponding icon changed. Afterwards, we could move to any other cell and, for example, apply the last selected color
Now it not only stopped working, but it also doesn't work correctly... the icon's color is always the default, and what's more, it doesn't correspond to what we see after clicking on it again
Screencast.from.2026-03-13.13-36-05.mp4
I initially noticed that it might be related to
#5917
but after researching the issue and going back to the previous implementation I noticed that this does not solve the problem
I was very surprised that not long ago, I made changes to the documents, but it did not affect the icon in the toolbar
After investigating I noticed a difference in useToolbarItemStatus when initializing selectionsValue$, "sheet.command.set-range-text-color" should be an exception
I decided to reopen the issue to offer a possible solution.
Expected behavior
icon's text and background color do change.
Actual behavior
icon's text and background color do not change.
System information
No response