dom-align icon indicating copy to clipboard operation
dom-align copied to clipboard

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

Open yes1am opened this issue 6 years ago • 0 comments

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>

yes1am avatar Aug 19 '19 09:08 yes1am