Don
10. Februar 2023 um 16:48
1
Hello,
Thanks for the component
I have noticed a little issue with it. It seems on mobile (I tested on Android 10 Chrome 109.0.5414.117 and iOS 16.1.1 Safari) it only scrollable if the sidebar is scrollable. When the sidebar sections are collapsed the theme toggle is not scrollable for me. Thank you
3 „Gefällt mir“
Canapin
(Coin-coin le Canapin)
7. März 2023 um 10:43
2
Is it still the case? I can’t repro on my android phone.
1 „Gefällt mir“
Moin
7. März 2023 um 11:13
3
I can. I cannot scroll if all sections are collapsed
If the sidebar is scrollable, the menu to choose a theme is too
4 „Gefällt mir“
Canapin
(Coin-coin le Canapin)
7. März 2023 um 12:08
4
I misunderstood the issue and I after trying again, I experience it as well.
2 „Gefällt mir“
I’ve added a fix here:
discourse:main
← discourse:fix-scroll
opened 05:37PM - 07 Mar 23 UTC
Issue discussed here: https://meta.discourse.org/t/sidebar-theme-toggle/242802/1… 5?u=awesomerobot
When the sidebar sections are collapsed on mobile and the sidebar itself isn't scrollable, the theme dropdown will not scroll either. I've added a slight hack to ensure the theme dropdown is always scrollable, this seems to have no impact on the main scrollbar's scroll behavior.
I’ve updated the component on Meta, and it works fine for me on mobile now! Thanks for reporting it everyone!
4 „Gefällt mir“