Skip to content

make sure activeElement has focus method then activeElement.focus() #47

@yes1am

Description

@yes1am

In IE11, If activeElement is a svg element, call focus() method cause error.

Internet Explorer Version: 11.0.9600.18893IS

zm0e170000011s0urBF52

demo

<body>
  <svg>
  <circle id="mycircle"  cx="400" cy="300" r="50" />
<svg>
</body>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions