Open zsoltk opened 2 years ago
I did that deliberately originally.
If you have different padding values the screen transitions don't look great. if you come up with a solution for that, please keep that in mind when switching between screens.
I think I know what you mean – there's a visual "jump" if we change the padding value. But if we only apply the padding on the needed element rather than the container, this shouldn't happen, no?
yeah, a visual jump! that rings a bell. Yes, if we add it to the element it should hopefully fix the problem
The current logic in
SamplesContainerNode
means there's always a40.dp
top padding – even on elements without a back button, and even on the samples list itself.The padding should only be applied to the child which corresponds to the
NavTarget
withshowBackButton == true
.