nodegui/react-nodegui

react nodegui call stack exceeded error when using GridView/ BoxView components

jsilva23 opened this issue · 5 comments

react-nodegui-starter@1.0.0 start
qode ./dist/index.js

The above error occurred in the component:
in gridview (created by App)
in mainwindow (created by App)
in App

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
/home/jsilva/Documents/react-nodegui-starter/dist/index.js:37888
throw error;
^

RangeError: Maximum call stack size exceeded
at RNGridView.get layout [as layout] (/home/jsilva/Documents/react-nodegui-starter/dist/index.js:18051:15)
at RNGridView.get layout [as layout] (/home/jsilva/Documents/react-nodegui-starter/dist/index.js:18052:21)
at RNGridView.get layout [as layout] (/home/jsilva/Documents/react-nodegui-starter/dist/index.js:18052:21)
at RNGridView.get layout [as layout] (/home/jsilva/Documents/react-nodegui-starter/dist/index.js:18052:21)
at RNGridView.get layout [as layout] (/home/jsilva/Documents/react-nodegui-starter/dist/index.js:18052:21)
at RNGridView.get layout [as layout] (/home/jsilva/Documents/react-nodegui-starter/dist/index.js:18052:21)
at RNGridView.get layout [as layout] (/home/jsilva/Documents/react-nodegui-starter/dist/index.js:18052:21)
at RNGridView.get layout [as layout] (/home/jsilva/Documents/react-nodegui-starter/dist/index.js:18052:21)
at RNGridView.get layout [as layout] (/home/jsilva/Documents/react-nodegui-starter/dist/index.js:18052:21)
at RNGridView.get layout [as layout] (/home/jsilva/Documents/react-nodegui-starter/dist/index.js:18052:21)

Same here. In my app, when I replace View with BoxView to set custom direction, the same error is thrown. I must stick to View while this bug is fixed.

For the developers, you may recreate the issue simply by running this example from the documentation.

asjur commented

This is still an issue, occurred with both BoxView and GridView.

This is still an issue, occurred with both BoxView and GridView.

I'm also having the same issue as of the time of posting this. If it's us, a little direction from the devs would be helpful.

Seems like this project is a bit unmaintained.

ivxvm commented

This issue is still here.