You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we noticed that if the selected color is set (using code) to a custom one, that is not part of the gallery items, the selection state gets not reset. as you can see below, the selection state will reset only if there is a color match:
in our use case, we have a lot of fancy rich text content with some custom colorings, that are not introduced by the color gallery, but from external content creators using their own tooling. so let's assume a user writes some text and changes the fore color to red and moves to a fragment that has a custom fore color... then the red color gallery list-box-item is still selected, even if we set the selected color of the color gallery to the custom one.
i hope that this is an issue and not the intended behaviour, so that it can be fixed.
Sincerely yours
The text was updated successfully, but these errors were encountered:
Hi @batzen,
we noticed that if the selected color is set (using code) to a custom one, that is not part of the gallery items, the selection state gets not reset. as you can see below, the selection state will reset only if there is a color match:
Fluent.Ribbon/Fluent.Ribbon/Controls/ColorGallery.cs
Lines 528 to 543 in 044e23d
in our use case, we have a lot of fancy rich text content with some custom colorings, that are not introduced by the color gallery, but from external content creators using their own tooling. so let's assume a user writes some text and changes the fore color to red and moves to a fragment that has a custom fore color... then the red color gallery list-box-item is still selected, even if we set the selected color of the color gallery to the custom one.
i hope that this is an issue and not the intended behaviour, so that it can be fixed.
Sincerely yours
The text was updated successfully, but these errors were encountered: