Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas fails with shape dragging over sidebar #1216

Closed
ActiveChooN opened this issue Feb 28, 2020 · 0 comments · Fixed by #1227
Closed

Canvas fails with shape dragging over sidebar #1216

ActiveChooN opened this issue Feb 28, 2020 · 0 comments · Fixed by #1227
Labels
bug Something isn't working
Milestone

Comments

@ActiveChooN
Copy link
Contributor

Canvas fails when trying to move shape from canvas over sidebar with such errors.

canvas_bug

Uncaught Error: Canvas is busy. Action: drag
    at CanvasModelImpl.activate (canvasModel.ts:347)
    at CanvasImpl.activate (canvas.ts:97)
    at CanvasWrapperComponent.activateOnCanvas (canvas-wrapper.tsx:265)
    at CanvasWrapperComponent.componentDidUpdate (canvas-wrapper.tsx:152)
    at commitLifeCycles (react-dom.development.js:22084)
    at commitLayoutEffects (react-dom.development.js:25302)
    at HTMLUnknownElement.callCallback (react-dom.development.js:336)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:385)
    at invokeGuardedCallback (react-dom.development.js:440)
    at commitRootImpl (react-dom.development.js:25040)
react-dom.development.js:21810 The above error occurred in the <CanvasWrapperComponent> component:
    in CanvasWrapperComponent (created by CanvasWrapperContainer)
    in CanvasWrapperContainer (created by ConnectFunction)
    in ConnectFunction (created by StandardWorkspaceComponent)
    in section (created by BasicLayout)
    in BasicLayout (created by Context.Consumer)
    in Adapter (created by StandardWorkspaceComponent)
    in StandardWorkspaceComponent (created by AnnotationPageComponent)
    in section (created by BasicLayout)
    in BasicLayout (created by Context.Consumer)
    in Adapter (created by AnnotationPageComponent)
    in AnnotationPageComponent (created by AnnotationPageContainer)
    in AnnotationPageContainer (created by ConnectFunction)
    in ConnectFunction (created by Context.Consumer)
    in withRouter(Connect(AnnotationPageContainer)) (created by Context.Consumer)
    in Route (created by CVATApplication)
    in Switch (created by CVATApplication)
    in main (created by Basic)
    in Basic (created by Context.Consumer)
    in Adapter (created by CVATApplication)
    in section (created by BasicLayout)
    in BasicLayout (created by Context.Consumer)
    in Adapter (created by CVATApplication)
    in Router (created by BrowserRouter)
    in BrowserRouter (created by CVATApplication)
    in CVATApplication (created by reduxAppWrapper)
    in reduxAppWrapper (created by ConnectFunction)
    in ConnectFunction
    in Provider

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
logCapturedError @ react-dom.development.js:21810
react-dom.development.js:12193 Uncaught Error: Canvas is busy. Action: drag
    at CanvasModelImpl.activate (canvasModel.ts:347)
    at CanvasImpl.activate (canvas.ts:97)
    at CanvasWrapperComponent.activateOnCanvas (canvas-wrapper.tsx:265)
    at CanvasWrapperComponent.componentDidUpdate (canvas-wrapper.tsx:152)
    at commitLifeCycles (react-dom.development.js:22084)
    at commitLayoutEffects (react-dom.development.js:25302)
    at HTMLUnknownElement.callCallback (react-dom.development.js:336)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:385)
    at invokeGuardedCallback (react-dom.development.js:440)
    at commitRootImpl (react-dom.development.js:25040)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants