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

Problem with dialog shadow and rounded corners #127

Open
wojta opened this issue Jan 9, 2022 · 0 comments
Open

Problem with dialog shadow and rounded corners #127

wojta opened this issue Jan 9, 2022 · 0 comments

Comments

@wojta
Copy link
Contributor

wojta commented Jan 9, 2022

If I have rounded corners, there is a visible artifact on the bottom corners where probably some shadow should be.

I tried to modify code of https://github.com/vanpra/compose-material-dialogs/blob/main/core/src/main/java/com/vanpra/composematerialdialogs/MaterialDialog.kt#L263
by removing line with clipToBounds(). It's better but I would also need to lower the elevation to 8.dp.
I'm not sure how can I fix this.

@wojta wojta changed the title Problem with dialog shadows Problem with dialog shadow and rounded corners Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant