Gdevelop: Graphical glitch when resizing the objects editor

Created on 26 Sep 2020  路  5Comments  路  Source: 4ian/GDevelop

Describe the bug

please follow the steps to reproduce this :)

To Reproduce

Steps to reproduce the behavior:

  1. Go to the objects editor and make sure you have enough objects to make you scroll.
  2. then open the layers editor.
  3. scroll down in the objects editor till you can see the add new object button.
  4. then close the layers editor after this you should see some blank spaces above. (check the image below) this would only go away once you close and reopen the objects editor.

Other details

ddddddddd

馃憣good first issue 馃槫Non optimal UI behavior

Most helpful comment

It could be a react-virtualized issue, https://github.com/bvaughn/react-virtualized/issues/1533, seems pretty similar to what we have at GDevelop 馃.

All 5 comments

Confirmed
fail_list_refresh

The display of the objects is handled by a List component of third party library "react-virtualized" ,now I am just confused if we can fix this .I will try with a dummy list using "react-virtaulised" package in codesandox or locally ,to check if the issuse still persists when we change the height of list.If the issue still remains ,there's nothing much to be done .

ps : I am new to opensource;And this is repo is huge so I may have missed something

It could be a react-virtualized issue, https://github.com/bvaughn/react-virtualized/issues/1533, seems pretty similar to what we have at GDevelop 馃.

@TheGemDev @4ian I have come up with a work around for this. Though it uses react-dom to fetch some information directly from the DOM. If that isn't an issue then I'll open a PR with the changes.

Open the PR and we'll see directly in the code :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bouh picture Bouh  路  3Comments

ced64k picture ced64k  路  4Comments

Silver-Streak picture Silver-Streak  路  4Comments

blurymind picture blurymind  路  5Comments

Jeje2201 picture Jeje2201  路  5Comments