Zoomable icon indicating copy to clipboard operation
Zoomable copied to clipboard

How about inner composable that are bigger than Zoomable composable ?

Open Damien-L opened this issue 3 years ago • 1 comments

Hi,

Works like a charm but how about inner composable that are bigger than Zoomable composable ?

Let's see an example :

        val state = rememberZoomableState()
        Zoomable(
                modifier = Modifier.fillMaxSize(),
                state = state
        ) {
            Column(
                    modifier = Modifier.align(Alignment.Center),
                    horizontalAlignment = Alignment.CenterHorizontally
            ) {
                Text(
                        text = "TEST"
                )
                Image(
                        painter = painterResource(id = R.drawable.big_drawable),
                        contentDescription = null
                )
                Text(
                        text = "TEST"
                )
                Image(
                        painter = painterResource(id = R.drawable.big_drawable),
                        contentDescription = null
                )
            }
        }

Here if the screen height is not enough, you won't see the second image.

Damien-L avatar May 09 '22 14:05 Damien-L

Did you got any solution?

imnithish avatar Dec 06 '23 13:12 imnithish