Is there any way to capture a node to a bitmap wit...
# compose
p
Is there any way to capture a node to a bitmap with the node being larger than the current window?
c
What is your use case exactly?
p
To screenshot a composable that's larger than the screen
c
That's what you said before, and I understand that. I mean why do you want to do that? What is the use case? It's easier to help if we know why
p
We add screenshots of composables to our PRs. When one composable for example is a lazy column it will artificially be broken as it gets laid out with the height of the phone. We can work around that by manually measuring and layouting. This works but as an effect the screenshot is now cropped when capturing the node to a bitmap
c
I think you'd always have this issue with LazyColumn because the height is unbounded. How are you capturing the screenshots currently?
p
We are laying it out with full height. We are screenshotting it using captureToBitmap