johnwalley / allotment

A React component for resizable split views
https://allotment.mulberryhousesoftware.com/
MIT License
988 stars 55 forks source link

I get ofter "Index out of bounds" #720

Closed miquik closed 7 months ago

miquik commented 11 months ago

Hi all, I like very much this library, anyway I'm facing an issue that is very frustrating. I often get "Index out of bounds" error on method isViewVisible. Unfortunately it seems it happens without any reason, I can't reproduce this error at the moment. What are are potential situations where this could happens?

Thank you

Zmwang622 commented 8 months ago

I am seeing this as well, did you ever resolve the issue? It is flaky for me as well

miquik commented 7 months ago

I couldn't do it... in the end I chose another library

magicqiang commented 5 months ago

Same here, but somehow I can only intermittently reproduce on my prod app, not reproducible on my local. I wonder if there's any race condition going on.