Open jignesh-techvasu opened 7 years ago
This will be fixed with this pull request: https://github.com/Leaflet/Leaflet.draw/pull/657
@mike-unearth : That's great!.. Thank you.
@mike-unearth : Any idea about merge schedule for this pull? I am actually counting on it :)
It was merged today actually! Try version 0.4.8.
@mike-unearth : Great!... Thank you.
Hi. I'm having the same problem. The update to 0.4.8 solved the missed clic on the last point, but the problem persists when I try to finish a polyline (or a polygon) using the "Finish" button. In that case a last point is added to the polyline, and then the the "Finish" button is clicked.
The same thing happens with the "Delete last point" button: a new point is added, and is immediately deleted.
@chiccorusso hello, that pull request https://github.com/Leaflet/Leaflet.draw/pull/658 should make it work
@chiccorusso PR's have been merged to resolve this issue.
Thank-you! It's working.
How to reproduce
What behaviour I'm expecting and which behaviour I'm seeing
User should be able to finish polyline by clicking on last point. Same way, user should be able to finish polygon by clicking on first point.
Minimal example reproducing the issue
No need for anything else as issue is reproducible on leafdraw demo page itself.