Fixed
Status Update
Comments
cl...@google.com <cl...@google.com>
gs...@gmail.com <gs...@gmail.com> #3
Thanks for the report!
ap...@google.com <ap...@google.com> #4
The release notes documentation has been edited to clarify this change in behavior for line height.
To support non-standard text sizes, we encourage users to follow the Material design system and use a different style = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
, or create a custom Typography
entirely.
Description
Problem, while I tap each destination on my BottomNav it selects the destination and highlights them but without the ripple effect at first, when I reach the end of the list (or random item) the ripple takes effect and starts to lag the selection of each destination
Code
BottomNavigation(content = {
listItems.forEachIndexed { index, item ->
BottomNavigationItem(
icon = {
Icon(asset = item.icon)
},
label = { Text(item.title) },
onClick = {
selectedIndex.value = index
showMessage(context, "${item.title} selected")
},
selected = selectedIndex.value == index
)
}
})
Output