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
Sorry, scratch my previous comment - for the select component specifically, using the new hover state for the selected state (the light background with blue text) is the intended static state, and it will still have an :active state that matches the primary intent - this allows multi-select menus to retain feedback when clicking on selected menu items.
Ok, cool, the design proposed in your second comment makes more sense. I'll go head and implement that.
We have some unfortunate prop naming at the moment; <MenuItem active={true} /> actually represents the "selected" appearance. I can also go ahead and add selected?: boolean as a replacement and deprecate active?: boolean (although it won't fully go away until Blueprint 5.x; I don't want to add in additional breaking changes to v4.0 last minute).
There are some further complications -- currently, we apply the primary intent class to the MenuItem when active={true} and intent is undefined... I think we should stop doing that and instead set up the styles differently to achieve the design in your screenshot.
Environment
Steps to reproduce
Actual behavior
The active MenuItem goes from dark bg -> light bg, kind of an unexpected interaction:
Expected behavior
??
Possible solution
Use a slightly lighter or darker bg, but don't invert the colors when hovering over an active MenuItem
The text was updated successfully, but these errors were encountered: