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

The latest version of react-grid-layout breaks widget dragging (re-ordering) #495

Closed
ankusht-work opened this issue Sep 22, 2021 · 0 comments · Fixed by #500
Closed

The latest version of react-grid-layout breaks widget dragging (re-ordering) #495

ankusht-work opened this issue Sep 22, 2021 · 0 comments · Fixed by #500
Labels
bug Something isn't working Theia UI frontend

Comments

@ankusht-work
Copy link
Contributor

The re-ordering of react widget fails with the 1.3.0 version. The workaround for this issue is to pin down the version to 1.2.0.
Make below changes in the package.json file of react-components
"react-grid-layout": "1.2.0",

Here is the console error:

Error: not mounted on DragStart!
Uncaught Error: not mounted on DragStart!
    at DraggableCore.handleDragStart (vendors-node_modules_fortawesome_free-solid-svg-icons_index_es_js-node_modules_fortawesome_re-73c904.bundle.js:163531)
    at vendors-node_modules_fortawesome_free-solid-svg-icons_index_es_js-node_modules_fortawesome_re-73c904.bundle.js:163678
    at HTMLUnknownElement.callCallback (bundle.js:88699)
    at Object.invokeGuardedCallbackDev (bundle.js:88748)
    at invokeGuardedCallback (bundle.js:88803)
    at invokeGuardedCallbackAndCatchFirstError (bundle.js:88817)
    at executeDispatch (bundle.js:88900)
    at executeDispatchesInOrder (bundle.js:88925)
    at executeDispatchesAndRelease (bundle.js:91789)
    at executeDispatchesAndReleaseTopLevel (bundle.js:91798)

@ankusht-work ankusht-work added the bug Something isn't working label Sep 22, 2021
@bhufmann bhufmann added the Theia UI frontend label Sep 22, 2021
ankusht-work added a commit to ankusht-work/theia-trace-extension that referenced this issue Sep 23, 2021
…yout

fixes eclipse-cdt-cloud#495

Signed-off-by: Ankush Tyagi <ankush.tyagi@ericsson.com>
ankusht-work added a commit to ankusht-work/theia-trace-extension that referenced this issue Sep 23, 2021
fixes eclipse-cdt-cloud#495

Signed-off-by: Ankush Tyagi <ankush.tyagi@ericsson.com>
ankusht-work added a commit to ankusht-work/theia-trace-extension that referenced this issue Sep 23, 2021
fixes eclipse-cdt-cloud#495

Signed-off-by: Ankush Tyagi <ankush.tyagi@ericsson.com>
bhufmann pushed a commit that referenced this issue Sep 23, 2021
fixes #495

Signed-off-by: Ankush Tyagi <ankush.tyagi@ericsson.com>
hriday-panchasara pushed a commit to hriday-panchasara/theia-trace-extension that referenced this issue Nov 10, 2021
fixes eclipse-cdt-cloud#495

Signed-off-by: Ankush Tyagi <ankush.tyagi@ericsson.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Theia UI frontend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants