Skip to content

Commit 34f2847

Browse files
committed
Fix - Keyboard navigation does not work when buttons are hidden
1 parent 2e3441e commit 34f2847

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ export default class Driver {
185185
// If there is no highlighted element or there is a highlighted element
186186
// without popover or if the popover does not allow buttons - ignore
187187
const highlightedElement = this.getHighlightedElement();
188-
if (!highlightedElement || !highlightedElement.popover || !highlightedElement.popover.options.showButtons) {
188+
if (!highlightedElement || !highlightedElement.popover) {
189189
return;
190190
}
191191

0 commit comments

Comments
 (0)