How can I disable the gray hover effect for hovera...
# compose-desktop
j
How can I disable the gray hover effect for hoverable composables? In this case it is a
NavigationRailItem
inside a
NavigationRail
(both from
material3
and not m2).
k
Pass
indication = null
j
To what exactly? To`Modifier.indiciation()` ? If yes, should I pass a "dummy" interaction source as the first argument there?
k
Maybe this one doesn't allow you to set the indication
✔️ 1
j
Yeah that's the one I am using, and I found no way to override the indiciation.
k
File a bug on core compose, or fork for your own copy
249 Views