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
This is due to the fact that the Surface which contains the composable content in OdsAbstractComposeView clips its content to its bounds.
To fix this we could either:
Add an elevation to the Surface to mimic the bottom navigation elevation. This would mean adding an elevation parameter to OdsTheme which is not the preferred solution.
Use LocalContentColor(and maybe other composition locals) instead of a Surface in OdsTheme to propagate colors properly.
We also need to update the ViewDataBinding method in app:
See OdsBottomNavigation XML demo for an example:
This is due to the fact that the
Surface
which contains the composable content inOdsAbstractComposeView
clips its content to its bounds.To fix this we could either:
Surface
to mimic the bottom navigation elevation. This would mean adding anelevation
parameter toOdsTheme
which is not the preferred solution.LocalContentColor
(and maybe other composition locals) instead of aSurface
inOdsTheme
to propagate colors properly.We also need to update the
ViewDataBinding
method inapp
:The text was updated successfully, but these errors were encountered: