We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Setting props dndEdges or rootOverlayModel throws an error in version 4.2.0
dndEdges
rootOverlayModel
TypeError: Cannot set properties of undefined (setting 'disabled') at At.updateDropTargetModel (dockviewComponent.js:1639:34)
To Reproduce
dndEdges={{ size: { value: 100, type: 'pixels' }, activationSize: { value: 5, type: 'percentage' } }}
Observe the TypeError: Cannot set properties of undefined (setting 'disabled')
TypeError: Cannot set properties of undefined (setting 'disabled')
Expected behavior Should render properly
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
https://dockview.dev/docs/core/dnd/external is also broken due to this bug, error is thrown on screen
downgrading to 3.2.0 and using rootOverlayModel works just fine
Sorry, something went wrong.
It seems this._rootDropTarget is defined 'after' set its disabled.
Apologies, fixed in 4.2.1
Successfully merging a pull request may close this issue.
Describe the bug
Setting props
dndEdges
orrootOverlayModel
throws an error in version 4.2.0TypeError: Cannot set properties of undefined (setting 'disabled') at At.updateDropTargetModel (dockviewComponent.js:1639:34)
To Reproduce
dndEdges={{ size: { value: 100, type: 'pixels' }, activationSize: { value: 5, type: 'percentage' } }}
Observe the
TypeError: Cannot set properties of undefined (setting 'disabled')
Expected behavior
Should render properly
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: