xzdarcy / react-timeline-editor

react-timeline-editor is a react component used to quickly build a timeline animation editor.
https://zdarcy.com/
MIT License
284 stars 82 forks source link

Cannot read properties of undefined (reading 'getBoundingClientRect') #23

Closed ShahriarDhruvo closed 1 year ago

ShahriarDhruvo commented 1 year ago

Let's say I have implemented this whole timeline in page 1 and then switch to any other page from there then it gives me this error in NextJS 13.

Basically if you switch page in nextjs then you will get this type error

image

ShahriarDhruvo commented 1 year ago

Maybe this can help you @xzdarcy?

https://stackoverflow.com/questions/65678540/react-typeerror-cannot-read-property-getboundingclientrect-of-undefined

xzdarcy commented 1 year ago

Thanks! I just fixed this issue and released this version v0.1.8.

ShahriarDhruvo commented 1 year ago

Thanks it has been fixed. You can close this issue.