Hello everyone. I have a question about Popup that...
# compose
w
Hello everyone. I have a question about Popup that I'd like to ask. In short, I want to know how to make a Popup display covering the entire screen, including the system bar. After researching, I've written the following code:
Copy code
Box(modifier = Modifier.fillMaxSize().background(Color.Blue)) {
        Popup(
            properties = PopupProperties(
                clippingEnabled = false,
            )
        ) {
            Box(
                modifier = Modifier
                    .size(10000.dp) // After failing to use fillMaxSize, a particularly large value was set.
                    .background(Color.Red),
            )
        }
    }
However, the result turned out to be strange - it's not long enough. The blue part indicates the missing section of the popup. What should I do?
The size of the popup is forcibly set to a fixed value, as displayed in the layout inspector.
j