Open lucaslcode opened 3 years ago
Yeah the ripples are not displaying like they do in their demos. Have we accidentally overriden something in the theme that cause this?
It's because of this 😒 https://github.com/Couchers-org/couchers/blob/d63eca4741aa55d9038b498bbc5e0ac525db975d/app/frontend/src/theme.ts#L92
Why was this disabled in the first place? It's been there since the beginning of the repo...
Most people hate the ripple because it looks too Material-ly. The active state is more important, but it would be good if we could have active state with no ripple...
Actually, looks like there are better props
We could either change it to disableTouchRipple
or keep as is but also add focusVisibleClassName
. There's also focusRipple
but I'm not sure that's what we want.
Hmm or only disable it for Button
(and replace with a different active state style, like outline around the button) but not ButtonBase
? I think ButtonBase
is shared with a lot of other components including radio buttons
This can be seen on the donate, edit profile, and contribute pages. We use the mui radio component, and their examples do have active state, so I'm not sure why we don't.