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
Since #621, the "classic" variant no longer has its shadow, even when it is not disabled. This can be seen in the playground of that PR:
I understand from the design (mentioned in the PR) that the disable style is the same for both "classic" and "surface" variants. However, I believe it's not intentional for the "classic" style to lose its shadow when not being disabled due to this change.
In fact, the absence of shadow in disabled state is more likely to be an unintentional issue. The code change (permalink) means the selectors will never match.
cc @kendallstrautman and @chaance as you folks were working on the mentioned PR 😄 (sorry in advance if I should not cc people here. This is my fisrt issue in Radix)
Since #621, the "classic" variant no longer has its shadow, even when it is not disabled. This can be seen in the playground of that PR:
I understand from the design (mentioned in the PR) that the disable style is the same for both "classic" and "surface" variants. However, I believe it's not intentional for the "classic" style to lose its shadow when not being disabled due to this change.
In fact, the absence of shadow in disabled state is more likely to be an unintentional issue. The code change (permalink) means the selectors will never match.
We can see this from the final CSS as well:
Because the structure of Segmented Control is that:
The selector in 3.1.6 will never match anything, while the one in 3.1.4 does.
The text was updated successfully, but these errors were encountered: