# SCROLLBAR_VISIBILITY_SHOW_WHEN_REQUIRED

Variable · category: User Interface

Source: https://github.com/playcanvas/engine/blob/b5b983982a9860d21e0c1dafb2f85f72e2c01afb/src/framework/components/scroll-view/constants.js#L34

The scrollbar will be visible only when content exceeds the size of the viewport.

```ts
const SCROLLBAR_VISIBILITY_SHOW_WHEN_REQUIRED: 1 = 1
```
