You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to click & drag (to add a point & position it) in one mouse click, an existing point is dragged instead of creating a new one.
It appears that onEdit is being called for the 'movePosition' editType, with feature data that has not been updated yet from the initial 'addPosition' onEdit call, causing the movePosition edit to override the feature data with its outdated data.
Describe the bug
When attempting to click & drag (to add a point & position it) in one mouse click, an existing point is dragged instead of creating a new one.
It appears that onEdit is being called for the 'movePosition' editType, with feature data that has not been updated yet from the initial 'addPosition' onEdit call, causing the movePosition edit to override the feature data with its outdated data.
Actual Result
An existing point is dragged.
Expected Result
The new point should be dragged.
Reproduce Steps
Screenshots
Nebula.create.drag.mp4
To Do List
@nebula.gl/edit-modes: 1.0.4
@nebula.gl/layers: 1.0.4
deck.gl: 8.9.4
React: 17.0.2
Simple component running at the root of React app
The text was updated successfully, but these errors were encountered: