You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Sometimes, when routing my view component show a wrong layout then I expect.
But, If I resize the window manually, layout return normal automatically.
I am experiencing a similar situation where initially, the layout renders correctly, but changing the component tree breaks the layout in a similar manner. Any window size change restores the proper positions.
Not sure if this has to do with your issue, but for me it appears to be the sizing of ScrollArea. Somehow, the sizing appears to be indeterminate, so changing child nodes shrinks the ScrollArea.
Edit: Turns out the CRA template uses an older version of both nodegui and react-nodegui. Upgrading fixed my issues.
Activity
agg23 commentedon May 31, 2020
I am experiencing a similar situation where initially, the layout renders correctly, but changing the component tree breaks the layout in a similar manner. Any window size change restores the proper positions.
agg23 commentedon Jun 1, 2020
Not sure if this has to do with your issue, but for me it appears to be the sizing of
ScrollArea. Somehow, the sizing appears to be indeterminate, so changing child nodes shrinks theScrollArea.Edit: Turns out the CRA template uses an older version of both
nodeguiandreact-nodegui. Upgrading fixed my issues.agg23 commentedon Jun 2, 2020
Minimal repro of arbitrary sizing behavior:
Initial Render:

First Click:

After Resizing:

Eeems commentedon Dec 7, 2020
I'm also experiencing this.