We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c788db commit 4d79bacCopy full SHA for 4d79bac
src/map/index.tsx
@@ -618,8 +618,7 @@ const MapComponent = ({
618
const terraDrawInstance = drawRef.current.getTerraDrawInstance();
619
if (terraDrawInstance) {
620
const mode = terraDrawInstance.getMode();
621
- // Don't show popup if actively drawing (polygon mode, not select/delete)
622
- if (mode === 'polygon') {
+ if (mode === 'polygon' || mode === 'select' || mode === 'delete') {
623
return;
624
}
625
0 commit comments