Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Failed to execute 'observe' on 'ResizeObserver' #18

Open
Q314TRA opened this issue Apr 22, 2019 · 2 comments
Open

Failed to execute 'observe' on 'ResizeObserver' #18

Q314TRA opened this issue Apr 22, 2019 · 2 comments

Comments

@Q314TRA
Copy link

Q314TRA commented Apr 22, 2019

Hi, i have this problem, when component Scroller be unmounted.

Scroller.js:255 Uncaught TypeError: Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element'. at Scroller.js:255 at HTMLUnknownElement.callCallback (react-dom.development.js:147) at Object.invokeGuardedCallbackDev (react-dom.development.js:196) at invokeGuardedCallback (react-dom.development.js:250) at safelyDetachRef (react-dom.development.js:17910) at commitUnmount (react-dom.development.js:18333) at commitNestedUnmounts (react-dom.development.js:18361) at unmountHostComponents (react-dom.development.js:18648) at commitDeletion (react-dom.development.js:18712) at commitAllHostEffects (react-dom.development.js:19577) at HTMLUnknownElement.callCallback (react-dom.development.js:147) at Object.invokeGuardedCallbackDev (react-dom.development.js:196) at invokeGuardedCallback (react-dom.development.js:250) at commitRoot (react-dom.development.js:19816) at react-dom.development.js:21402 at Object.unstable_runWithPriority (scheduler.development.js:255) at completeRoot (react-dom.development.js:21401) at performWorkOnRoot (react-dom.development.js:21324) at performWork (react-dom.development.js:21229) at performSyncWork (react-dom.development.js:21203) at interactiveUpdates$1 (react-dom.development.js:21488) at interactiveUpdates (react-dom.development.js:2268) at dispatchInteractiveEvent (react-dom.development.js:5086)

Code.

<Scroller scrollRef={(ref) => { this.scroll = ref }} autoScroll={true} autoFrame={true} onScrollChange={(scroll) => { this.setState({ scroll: scroll }) }} > ... </Scroller>

@annygutierrez
Copy link

I have the same issue here:

scroll1

Any progress on the solution? I can't figure it out

@du5rte
Copy link
Owner

du5rte commented Aug 26, 2019

I believe #17 closes this issue, I've pushed a new version to npm

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

No branches or pull requests

3 participants