Status Update
Comments
jo...@google.com <jo...@google.com> #2
jo...@google.com <jo...@google.com> #3
Thanks for the report!
ma...@google.com <ma...@google.com> #4 Restricted
ap...@google.com <ap...@google.com> #5
jo...@google.com <jo...@google.com> #6
In my case, I have multiple font sizes in the same Text
(using SpanStyle
in AnnotatedString
). There are legitimate reasons for this. For example, when combining Chinese and English (phonetic) together (for language-learning purposes).
na...@google.com <na...@google.com> #7
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material:material:1.4.0-alpha04
se...@gmail.com <se...@gmail.com> #8
On non-compose view, you can override the max width by defining attributes (MaxModalBottomSheetWidth
value which is a private value of 640.dp?
ga...@gmail.com <ga...@gmail.com> #9
I am having the same problem. When the user uses landscape mode, the screen is not displayed normally due to the MaxModalBottomSheetWidth
value.
Hopefully, the next update will fix this issue.
se...@outlook.de <se...@outlook.de> #10
Please let us override the maximum width of the inner ModalBottomSheet, the scrim should go over the whole content.
Just like a dialogue.
jo...@google.com <jo...@google.com> #11
Hi, we currently do not have any work planned on this. Material is opinionated about the max width of the sheet, and Compose Material provides implementations of components adhering to Material specifications.
#9, #10, what you are describing sounds like a bug, please file a separate issue.
sh...@gmail.com <sh...@gmail.com> #12
Hi,
I understand the opinionated part. Please check my patch proposal (attached):
- Default stays the same
- Developers can customize the maximum width.
Seems like an easy change that would give a lot of devs a better option than forking the whole compose.
Description
Jetpack Compose version: 1.2.0-beta02 Jetpack Compose component used: androidx.compose.material.ModalBottomSheetLayout Android Studio Build: 2022.1.1 Kotlin version: 1.6.20
Steps to Reproduce or Code Sample to Reproduce:
This makes it not possible to meet the quality guidelines for large screen apps in T2-1 / LS-U2: