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

[Dialog] Material dialog's max width of 560dp is not respected on some devices #4255

Open
fanwgwg opened this issue Aug 9, 2024 · 0 comments

Comments

@fanwgwg
Copy link

fanwgwg commented Aug 9, 2024

Description: Full description of issue here

In M3's documentation, dialog container has a max width of 560dp on large screen devices. However, when we test the MaterialAlertDialog on different tablets, we find that this isn't always true. Especially on Lenovo, Oppo tablets, we often find these dialogs to be much smaller, at around 450dp width. Why is this so?

Android API version: 34

Material Library version: com.google.android.material:material:1.12.0

Device: Device on which the bug was encountered here
Lenovo Tab M10 Plus Gen 3
Oppo Pad 2

@fanwgwg fanwgwg added the bug label Aug 9, 2024
@fanwgwg fanwgwg changed the title [Component name] Short description of issue [Component name] Material dialog's max width of 560dp is not respected on some devices Aug 9, 2024
@fanwgwg fanwgwg changed the title [Component name] Material dialog's max width of 560dp is not respected on some devices [Dialog] Material dialog's max width of 560dp is not respected on some devices Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants