nodegui / react-nodegui

Build performant, native and cross-platform desktop applications with native React + powerful CSS like styling.🚀
https://react.nodegui.org
MIT License
6.18k stars 171 forks source link

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

Open jsilva23 opened 2 years ago

jsilva23 commented 2 years ago

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)

caph1993 commented 2 years ago

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 2 years ago

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

BuddyDudeDeveloper commented 2 years ago

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.

ProjectInfinity commented 2 years ago

Seems like this project is a bit unmaintained.

ivxvm commented 8 months ago

This issue is still here.