material-components / material-components/material-components-android
[Dialog] Material dialog's max width of 560dp is not respected on some devices
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the MaterialAlertDialog behavior on the Lenovo Tab M10 Plus Gen 3 and Oppo Pad 2 with Android API 34 and Material library 1.12.0. Compare the observed width with the M3 documentation's 560dp maximum, then determine what behavior or documentation change would define the issue as fixed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- design, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100