Event Listeners after showlocation
See original GitHub issueI recently upgraded from 2.4.0 to 2.5.0, so that I could get the fix that allows you to highlight text in the search box (#138).
However, once I upgraded, it appears that the handlers don’t get restored after I search and select that search. I got a workaround by manually enabling them:
map.on('geosearch/showlocation', function(e) { map['dragging'].enable(); ... });
I thought that you’d like to try to reproduce this bug. Maybe it’s because the mouseout
event doesn’t get fired when you select a dropdown. I haven’t debugged leaflet-geosearch enough yet to say for sure.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Event when window.location.href changes - Stack Overflow
I just tried accessing the location. href inside the onbeforeunload event handler, and it shows the original url, not the target url. Beforeunload...
Read more >EventTarget.addEventListener() - Web APIs | MDN
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered ...
Read more >JavaScript Event Listeners Ultimate Guide
When an event is triggered on an element it will bubble that event up the document tree to all the elements the element...
Read more >The Daily Show - Wikipedia
The Daily Show is an American late-night talk and satirical news television program. It airs each Monday through Thursday on Comedy Central with...
Read more >Atlantic County Prosecutor's Office Community Outreach 2022 ...
Specifically, we're talking about various improvements made since Will ... different community outreach events, such as walking the Atlantic ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You’re welcome. Thanks for the report and testing.
Fixed! Thanks for the great plugin and quick bugfix! 👍