Closed massipetro closed 1 year ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
up
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
up
Describe the bug
I've noticed that, after updating accompanist placeholder from version 0.23.1 to version 0.30.0, sometimes two placeholders would overlap.
For example: given two
Text
components in aRow
, both withModifier.placeholder(state.isLoading)
and a state based text value (respectivelystate.text1
andstate.text2
); whenstate
changes twice fromisLoading = false
toisLoading = true
and with atext1
value shorter than the previous one, then the two placeholders overlap.I've noticed this behaviour happening after the commit 9c4a319. This problem is present from the version 0.24.10-beta.
To Reproduce
Run the following code and tap on the button 3 times.
Expected behavior
I expect the placeholders on the elements not to overlap.
Video
placeholder_bug.webm
Environment: