kamrify commited on
Commit
34f2847
·
1 Parent(s): 2e3441e

Fix - Keyboard navigation does not work when buttons are hidden

Browse files
Files changed (1) hide show
  1. 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 || !highlightedElement.popover.options.showButtons) {
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