Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AlertDialog doesn't show Shape correctly #1269

Closed
serbelga opened this issue Oct 18, 2021 · 2 comments · Fixed by JetBrains/compose-multiplatform-core#424
Closed

AlertDialog doesn't show Shape correctly #1269

serbelga opened this issue Oct 18, 2021 · 2 comments · Fixed by JetBrains/compose-multiplatform-core#424
Assignees
Labels
bug Something isn't working desktop

Comments

@serbelga
Copy link

Description

The AlertDialog composable shape not showing correctly. It shows a surface behind the AlertDialog background.

val shapes = Shapes(
    small = RoundedCornerShape(24.dp),
    medium = RoundedCornerShape(24.dp),
    large = RoundedCornerShape(12.dp)
)
    AlertDialog(
        backgroundColor = Color.Gray,
        onDismissRequest = {},
        title = { Text("Title") },
        text = { Text("Text") },
        confirmButton = {
            Button(
                onClick = {}
            ) {
                Text("Confirm")
            }
        },
        dismissButton = {
            Button(
                onClick = {}
            ) {
                Text("Dismiss")
            }
        }
    )

Captura de pantalla 2021-10-18 a las 22 34 34

Library version
1.0.0-alpha3

OS
Mac OS 11 Big Sur

@rylexr
Copy link

rylexr commented Apr 16, 2022

Is there any news on this?

@dima-avdeev-jb
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working desktop
Projects
None yet
6 participants