Commit 7000902e authored by Developer's avatar Developer

Added check for if node exists before handleKeyDown on PopoverBase

• Added:
- check for if node exists before handleKeyDown on PopoverBase
parent c85ad3e9
......@@ -38,6 +38,8 @@ class PopoverBase extends ImmutablePureComponent {
}
handleKeyDown = (e) => {
if (!this.node) return
const items = Array.from(this.node.getElementsByTagName('a'))
const index = items.indexOf(document.activeElement)
let element
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment