Skip to content

Illegal invocation, requestAnimationTimeout when tree is creating scroll #293

Open
@ghost

Description

I created a sortable tree and got the following error in the console when the tree is getting larger than div and creating a scroll:

Uncaught TypeError: Illegal invocation
    at Object.requestAnimationTimeout (requestAnimationTimeout.js?ab56:34)
    at Grid._debounceScrollEnded (Grid.js?0f6f:910)
    at Grid.handleScrollEvent (Grid.js?0f6f:208)
    at Grid._this._onScroll (Grid.js?0f6f:133)
    at HTMLUnknownElement.callCallback (react-dom.development.js?cada:542)
    at Object.invokeGuardedCallbackDev (react-dom.development.js?cada:581)
    at Object.invokeGuardedCallback (react-dom.development.js?cada:438)
    at Object.invokeGuardedCallbackAndCatchFirstError (react-dom.development.js?cada:452)
    at executeDispatch (react-dom.development.js?cada:836)
    at executeDispatchesInOrder (react-dom.development.js?cada:858)

The tree works as intended however.
Tried to replicate this in the sandbox but couldn't. Using react and react-dom 16.2 and sortable tree 2.1.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions