Fix - Keyboard navigation does not work when buttons are hidden
Browse files- src/index.js +1 -1
src/index.js
CHANGED
@@ -185,7 +185,7 @@ export default class Driver {
|
|
185 |
// If there is no highlighted element or there is a highlighted element
|
186 |
// without popover or if the popover does not allow buttons - ignore
|
187 |
const highlightedElement = this.getHighlightedElement();
|
188 |
-
if (!highlightedElement || !highlightedElement.popover
|
189 |
return;
|
190 |
}
|
191 |
|
|
|
185 |
// If there is no highlighted element or there is a highlighted element
|
186 |
// without popover or if the popover does not allow buttons - ignore
|
187 |
const highlightedElement = this.getHighlightedElement();
|
188 |
+
if (!highlightedElement || !highlightedElement.popover) {
|
189 |
return;
|
190 |
}
|
191 |
|