Move DummyScrollbarComponent into its own GPU layer

This was fixed back in bac9922 and, due to the same reasons, not having
a separate layer causes the "Show scrollbars only when scrolling"
setting on macOS to not work properly.
This commit is contained in:
Antonio Scandurra
2017-08-30 16:11:21 +02:00
parent d70dcaf819
commit af42b4b86f

View File

@@ -2950,7 +2950,8 @@ class DummyScrollbarComponent {
const outerStyle = {
position: 'absolute',
contain: 'strict',
zIndex: 1
zIndex: 1,
willChange: 'transform'
}
const innerStyle = {}
if (orientation === 'horizontal') {