'Reversing Sencha Touch 2 Scrollbar
I am implementing a sencha touch app on the desktop and I am looking to “reverse” the direction of the scrollbar. Has anyone implemented this?
Solution 1:[1]
There is no out of the box solution.
How to start
You can take a look at
// panel p is the scrollable panel
const scrollbar = p.getScrollable().getIndicators().y.barElement
scrollbar.dom.style.transform = "rotate(180deg)"
You will have to set the transform origin, but this should help you jumpstart the problem.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dinkheller |
