BiYuqi / vue-intersection-observer

Vue component for the Intersection <Observer /> API
https://biyuqi.github.io/vue-intersection-observer
MIT License
34 stars 5 forks source link

Vue warn: Invalid prop: type check failed for prop "root". Expected Object, got HTMLDivElement #26

Closed narek-dev closed 2 years ago

narek-dev commented 2 years ago

Guys in docs is writed, what root is HTMLElement, but in real there is just a Object, and when we passing HTMLElement we get an error... The docs. image The native code image The error image

BiYuqi commented 2 years ago

@narek-dev Fixed, thanks for the reminder!