Skip to content

Commit

Permalink
sync with alphagov main
Browse files Browse the repository at this point in the history
  • Loading branch information
katiehartrick committed May 1, 2024
1 parent 1ac1269 commit 193cc41
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dist/accessible-autocomplete.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/accessible-autocomplete.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lib/accessible-autocomplete.preact.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lib/accessible-autocomplete.preact.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lib/accessible-autocomplete.react.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lib/accessible-autocomplete.react.min.js.map

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions src/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -572,13 +572,7 @@ export default class Autocomplete extends Component {

{dropdownArrow}

<ul
className={`${menuClassName} ${menuModifierDisplayMenu} ${menuModifierVisibility}`}
onMouseLeave={(event) => this.handleListMouseLeave(event)}
id={`${id}__listbox`}
role='listbox'
{...menuAttributes}
>
<ul {...computedMenuAttributes}>
{options.map((option, index) => {
const showFocused = focused === -1 ? selected === index : focused === index
const optionModifierFocused = showFocused && hovered === null ? ` ${optionClassName}--focused` : ''
Expand Down

0 comments on commit 193cc41

Please sign in to comment.