Open corentin-stamper opened 2 days ago
Thanks for logging this issue! I need to dig in to how LayoutLib in Android studio gets this to render but it looks like the issue is due to animation of the drop down.
Used accessibility render extension to better identify the dropdown items. (video is 120 fps, 1 sec slowed to show the animation better)
Android Studio Preview shows this with your example (I added the button for my own testing)
So this is rendering mostly as expected. Since we have an issue where compose animations aren't timed correctly using offsetMillis
param in paparazzi.snapshot()
my suggestion would be to use paparazzi.snapshot(view, ..., offsetMillis = 5000)
where 5000
is arbitrary to expected result.
Description
DropdownMenu
not appearing in snapshotsSteps to Reproduce
Expected behavior The
DropdownMenu
appearsAdditional information:
Screenshots