Having a SwingPanel in a (vertically) scrollable Box or LazyColumn overdraws beyond the boundaries of the container (and into the blue box). I attached two reproducing examples with a small animation showing the problem. I had to add a small dark-grey area in front of each row to be able to scroll at all (see #1062).
I'm using the recent org.jetbrains.compose @ 1.0.0-alpha4-build348.
General description
Having a
SwingPanel
in a (vertically) scrollableBox
orLazyColumn
overdraws beyond the boundaries of the container (and into the blue box). I attached two reproducing examples with a small animation showing the problem. I had to add a small dark-grey area in front of each row to be able to scroll at all (see #1062).I'm using the recent
org.jetbrains.compose
@1.0.0-alpha4-build348
.Example with LazyColumn
Example with Box
This is a bit different but the problem occurs too: