Just recognized that Slider and Scaffold drawer does not support RTL layout. (infact the UI supports it but not the gestures when using them). Is this a known issue or should i create a bug report?
I think the problem is that the grsture detection is not RTL aware but the UI is.
07/08/2020, 9:02 AM
Yep, you are right.
RTL support has been added already and will be shipped in the next release. Switch, Slider and Drawer will support rtl out of the box 🙂
07/08/2020, 9:06 AM
I implemented a small proof of concept for the Scaffold to be SystemWindowInset aware. So the InnerPadding also take into account the SystemWindowInsets.
IS there already work in progress on this topic. Or sould i file a feature request for this. (Do you think this is something that is needed?)
07/08/2020, 9:11 AM
It's definitely needed. We have ongoing debate on whether it should be handled by Scaffold or somewhere else, but we need it to work out of the box for material apps. We have bugs filed to track this, but if you have particular feature request or suggestion -- please, file another one.
In particular, Chris was playing with insets in tivi and this is something we might consider having as a park of compose later, feel free to check it here : https://github.com/chrisbanes/tivi/pull/639