You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered the problem with Roborazzi that AlertDIalog in compose @Previews is drawn in inappropriate way. Generally, the AlertDialog fits the whole width
I've discovered the issue with Material 2 AlertDialog. I was hoping that Material 3 Dialog would work better, but still this thing happens
Please reach me if you recognise this problem or if I should add some missing information for you!
The text was updated successfully, but these errors were encountered:
kartollikaa
changed the title
Dialogs in screenshot testing golden image appear to be full width and clips the background around it
Dialogs in screenshot testing golden image appear to be full width
Jan 21, 2025
Thanks! I wasn't aware of this issue. Since Roborazzi takes an image of each window and overlays them, I suspect this problem might be originating from Robolectric. I'll look into it further.
Hi!
I've encountered the problem with Roborazzi that AlertDIalog in compose
@Previews
is drawn in inappropriate way. Generally, the AlertDialog fits the whole widthHow the preview in Android Studio looks like:
What the Roborazzi generates:
To capture, I used the following block
I've discovered the issue with Material 2 AlertDialog. I was hoping that Material 3 Dialog would work better, but still this thing happens
Please reach me if you recognise this problem or if I should add some missing information for you!
The text was updated successfully, but these errors were encountered: