Back to Writing
NOTESunityuguiscrollviewui

Unity - ScrollView Viewport Fix After Removing Scrollbars

October 24, 2020Updated Feb 17, 2026

![](

3Q3cLoCBVVk2mHF5Dcg.XzmghFupxGKgcmX83LxzAXaIfrA_YOEokKPeU6YaWdAg.PNG.cdw0424/image.png?type=w966)

Create a ScrollView, and:

![](

6WPYfQhuns02f3c4A4g.O2pDU0jJvB7i7yxNxmtlvpbyaIs-bC6oKmlx67cvd3Yg.PNG.cdw0424/image.png?type=w966)

If you delete the scrollbars because they're annoying:

![](

e5onEcmnvfM4NHhc4kg.PICfJLKNaEAciIF4-JM0LVg9RVAZJrMF3ez7liOuiAgg.PNG.cdw0424/image.png?type=w966)

The space remains empty, which is annoying.

I tried expanding the viewport, but the modification didn't work.

I was frustrated for a while.

![](

YWBN-SgKk0tFUC6L38g.zdYKMOqnVq7AuRisqbs1QPYyWBEZMb7ArQkRmlLgKycg.PNG.cdw0424/image.png?type=w966)

Setting the ScrollView's viewport reference to None as well fixes the issue.

Recording this because I forget every time I use it.