Skip to content

Map loses focus after clicking on map controls #2148

@jacobtoye

Description

@jacobtoye

After clicking the zoom button you can no longer use the keyboard to navigate the map. This is because the button now has the focus and the keyboard events don't fall through.

My initial thoughts are to re-focus back on the map container in the zoom button handlers. Could you see this having any adverse effects?

refs Leaflet/Leaflet.draw#209

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions