How can I disable focusing when a marker is clicked?
See original GitHub issueClicking a marker seems to update the focus on the globe. I’d like to disable this, perhaps with enableFocusOnClickMarker
prop. This is the line in question, it seems:
I don’t want users to be able to click into the globe. Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Comments:11
Top Results From Across the Web
leafletDirectiveMarker disable focus when user click outside ...
You can simply listen to a window event and disable all focus on click: $window.addEventListener('click', function(e) { $scope.markers.
Read more >disable focus marker in hidden GUI mode · Issue #1321 - GitHub
Is your feature request related to a problem? Please describe. ... Its color is not customisable but is sometimes distracting. ... Hide the...
Read more >How to Remove Focus Around Buttons on Click - W3docs
If you want to remove the focus around a button, you can use the CSS outline property. You need to set the “none”...
Read more >focus-visible - CSS: Cascading Style Sheets - MDN Web Docs
Compare what happens when you click on the different controls with a mouse, versus when you tab through them using a keyboard. Note...
Read more >Use the Marker Index - Mindjet Help Server
Disable marker indexing · On the Home tab, in the Tools group, click the Marker Index pull-down, and then click Enable. Click Enable...
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 Free
Top 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
Honestly, not sure…I don’t maintain this library, I just had this one issue that I worked around. Wish I had a better answer for you. My best recommendation is keep playing with the props, and maybe use some custom CSS inspecting from the browser.
Good luck!
Thank You. I Will check that out in different ways and will mention it here in case anything works.