playcanvas / editor

Issue tracker for the PlayCanvas Editor
https://playcanvas.com/
154 stars 28 forks source link

Scrollbar of ScrollView entity not always updated correctly #818

Open albertvanveen opened 2 years ago

albertvanveen commented 2 years ago

Description

Scrollbar of ScrollView entity not always updated correctly in the editor.

Before refresh of the editor: image

After refresh of the editor: image

Steps to Reproduce

  1. Create a new ScrollView entity
  2. Change the width and height of the element component
  3. Scrollbar not always updated correctly
  4. Refresh the editor to solve this issue
albertvanveen commented 2 years ago

Disabled scrollbar also keeps appearing for some reason:

image

And the opposite happens too:

image