diff --git a/CHANGELOG.md b/CHANGELOG.md index f63f5af..0561bdb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -## [1.0.6] - 2023-08-27 +## [1.0.7] - 2023-08-27 ### Changed diff --git a/package-lock.json b/package-lock.json index 223401c..1d82ccb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dash-leaflet", - "version": "1.0.6", + "version": "1.0.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "dash-leaflet", - "version": "1.0.6", + "version": "1.0.7", "license": "MIT", "dependencies": { "base64-js": "^1.5.1", diff --git a/package.json b/package.json index ec9dcbb..9cc0c2d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dash-leaflet", - "version": "1.0.6", + "version": "1.0.7", "description": "Dash Leaflet is a light wrapper around React-Leaflet. The syntax is similar to other Dash components, with naming conventions following the React-Leaflet API.", "main": "index.ts", "repository": { diff --git a/src/ts/react-leaflet/EditControl.ts b/src/ts/react-leaflet/EditControl.ts index ec0c88f..a8645d6 100644 --- a/src/ts/react-leaflet/EditControl.ts +++ b/src/ts/react-leaflet/EditControl.ts @@ -64,7 +64,7 @@ const manipulateToolbar = (toolbar, mode, action) => { const match = matches[0] setTimeout(()=> { match.button.click() // emulate button click - }, 1) // delay is necessary for some actions to work + }, 10) // delay is necessary for some actions to work } } }