Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

TypeError: Cannot read property 'getDivInstance' of undefined #18

Open
shridharbennisur opened this issue Sep 19, 2018 · 2 comments
Open
Assignees

Comments

@shridharbennisur
Copy link

Hi ,
I am getting error (TypeError: Cannot read property 'getDivInstance' of undefined) when resizing splitter.

@ivanobivan
Copy link

It looks very strange, I got that bug too and I am sorry but I wasn't has any time to undestand causes.
It happans in getSize() method, and I can see in browser log that method execute 3-5 times. It depends from them variables: this.paneWrapper, this.panePrimary, this.handlebar which you take from your splitter class fields. Iteration repeats while that variables don't stop being null. It produceed that error. I want to understand that behavior, If you can explain or fix it, I will glad and I will use your Splitter.

@martinnov92
Copy link
Owner

Hello @ivanobivan @shridharbennisur , I had the same issue when try to use it in https://codesandbox.io/, but when I am developing this on my machine I have no issue.

Did you had this issue on your webpage or only when it is running in codesandbox or codepen or etc.? Thank you

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

No branches or pull requests

3 participants