leaflet.locationlist icon indicating copy to clipboard operation
leaflet.locationlist copied to clipboard

'changed' event fires when list is not changed

Open matthewdarwin opened this issue 5 years ago • 0 comments

The selection is not changed when clicking in the list. You need to actually select the option. Therefore:

L.DomEvent.addListener(this._fullist, 'click', this._onListChange, this);

should be changed to

L.DomEvent.addListener(this._fullist, 'change', this._onListChange, this);
``

matthewdarwin avatar Dec 30 '19 17:12 matthewdarwin