I have this simple IconButton, but when i try to inspect the recomposition the number goes up when scrolling on LazyColumn, whereas the IconButton is unaffected. I've tried to pass empty lambda on the onClick
, no recomposition happened though.
IconButton(
onClick = onBackArrowClick,
content = {
Icon(
imageVector = Icons.Default.ArrowBack,
contentDescription = null,
),
}
)