Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dojox/grid/_Grid::defaultUpdate() recursion error #310

Open
jmrkr opened this issue Jul 23, 2019 · 0 comments
Open

dojox/grid/_Grid::defaultUpdate() recursion error #310

jmrkr opened this issue Jul 23, 2019 · 0 comments

Comments

@jmrkr
Copy link

jmrkr commented Jul 23, 2019

I think I found a bug in dojox/grid/_Grid::defaultUpdate() that leads to a recursion error.

I posted about it in the forums here, seeking a potential better solution (perhaps using beginUpdate/endUpdate would be better?):
https://discourse.dojo.io/t/bug-in-dojox-grid-grid/436

Basically, because defaultUpdate() doesn't flag itself as 'updating', it can continue to be called by dojox/grid/_View::hasVScrollbar() which then eventually calls hasVScrollbar, and on and on .

I've only been able to reproduce the issue when the grid contains 7 rows - for whatever reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant