-
Notifications
You must be signed in to change notification settings - Fork 506
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
Page indicator style is broken #651
Comments
It is not broken it is the new material design 3 elements from Google https://m3.material.io/components/sliders/overview You'll have to live with it until they decide to change it again. What is broken is the right to left reading slider being filled at page 1 though. |
Actually, it does look broken. The Material 3 slider has two sections, the active section, the inactive section, and a divider between the two. Meanwhile, Mihon has the active section, the divider, and... no inactive section. Furthermore, the slider looks overlayed on top of the dots representing the pages. My suggestion would be to completely get rid of the dots, and use the full slider. The steps would still be there, only the dots would disappear. Edit: Or is this the issue? |
I am not familiar with Material Design frameworks, but in this instance, the segment doesn’t appear at all in the slider. Reversing the colors would probably just make the slider grey. |
Some themes were created with a colour palette that doesn't 100% match with what Material Design expects. Sometimes, attributes that are expected to be visually different have historically been set to the same value, causing these newer component designs to end up using the same colour twice. M3 colours palettes are defined by a long list of attributes, like "Fixing" these colour sets by making the attributes these components use actually distinct would mean going back and trying to recreate every theme with the modern palette definitions. While this is technically possible, it would be painstaking work and also end up with most themes appearing differently (because of the newly differing colours). Some themes intentionally define different attributes as the same colour to preserve the aesthetic of the theme, and would end up appearing extremely different if they defined their colours exactly to spec. This affects several of these progress components across the app, not just the chapter slider. |
So we basically have to pray that Google does something about this themselves. |
They won't. They're using the palette attributes they say should be visually different but some themes don't define them to be such. The sections not being different colours is a design issue with most of Mihon's themes. |
Oh, okay-okay. |
It was a stupid reply. I thought about it some more, and yeah the wording was wrong. It’s a mix of Mihon sometimes cramping too many dots inside the progress bar, and Google not having the spacing dynamically change after a certain point threshold has been passed. |
FWIW, I tried checking the M3 spec for these new "Sliders" as these are actually called, but the specs don't talk about a maximum number of steps, or about not colouring anything before 1/6. |
I see. And I agree, I would be surprised if this is how the new design functioned normally. I don't know what the cause of these issues is. |
https://developer.android.com/jetpack/androidx/releases/compose-material3#1.3.0-alpha02
https://developer.android.com/jetpack/androidx/releases/compose-material3#1.3.0-alpha03
|
Steps to reproduce
Expected behavior
0.16.4:
Actual behavior
0.16.5
Crash logs
No response
Mihon version
0.16.5
Android version
Android 13
Device
Redmi Note 10 Pro (chopin)
Other details
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: