react-native-windows
react-native-windows copied to clipboard
Scroll indicators shown when not required
Environment
If you are using latest version:
react-native -v: 0.60.6react-native run-windows --info: System: OS: Windows 10 10.0.18363 CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz Memory: 18.01 GB / 31.84 GB Binaries: Node: 10.15.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.21.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.13.7 - C:\Program Files\nodejs\npm.CMD npmPackages: react: 16.8.6 => 16.8.6 react-native: 0.60.6 => 0.60.6 react-native-windows: 0.60.0-vnext.133 => 0.60.0-vnext.133 rnpm-plugin-windows: 0.3.5 => 0.3.5 Installed UWP SDKs: 10.0.14393.0 10.0.15063.0 10.0.16299.0 10.0.17134.0 10.0.17749.0 10.0.17763.0 10.0.18362.0
Then, specify:
- Target Platform Version(s): 10.0.18362.0
- Target Device(s): Desktop
- Visual Studio Version: 2017
- Build Configuration: Debug
Steps to Reproduce
Create an application using react-native-windows and ensure that the elements you have visible are not vertically tall enough for a vertical scrollbar to be required. Also ensure that the elements you have visible are not horizontally wide enough for a horizontal scrollbar to be required.
Expected Behavior
No scroll indicators will be visible.
Actual Behavior
In my specific scenario, a vertical scroll indicator will always be shown, even when my content is not vertically tall enough to require a vertical scrollbar to be required.
Opened a PR for this fix above.
Closing since my fix was merged.