skydoves/Balloon

[Compose] Preview pops up a container in first frame

Closed this issue · 1 comments

Please complete the following information:

  • Library Version: since v1.6.3 (last tested occurrence v1.6.7)
  • Affected Device: n/a (it happens in @Preview)

Describe the Bug:

Hello! Recently I updated library to v1.6.7, noticed weird glitch where container pops up in @Preview. I thought it is just visual glitch in preview, but sadly it happened to mess up my screenshot tests (using Paparazzi + Showkase to generate tests from preview). last version without this problem was v1.6.2.

image

On Preview you can see container (white this time) popping up for a split of second whenever I made change to Composable (thus re-rendering preview).

Screen.Recording.2024-10-07.at.15.48.06.mov

Ballon is wrapped around question mark icon:

Row {
 Text(...)
 Spacer(...)
 Balloon {
     Icon(...)
 } 
}

Note I don't know whether it happens only in preview or also in production code, didn't notice it, though.

Expected Behavior:

Container should not pop up in preview.

Hey @GhulJr, new version 1.6.9 has been released, and it resolves this issue. Thank you for your report!