Skip to content

Commit

Permalink
Update packages/dnb-eufemia/src/components/autocomplete/Autocomplete.js
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored Sep 26, 2023
1 parent 773d8a3 commit d9c9312
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,7 @@ class AutocompleteInstance extends React.PureComponent {
// Add VoiceOver support to read the "selected" item
if (IS_MAC && this._ref.current) {
// this._ref.current to combat hydration failed, because the initial UI does not match what was rendered on the server.
// Could be solved in a better way
// Could be solved in a better/different way.
const { active_item, selected_item } = this.context.drawerList
const currentDataItem = getCurrentData(
active_item,
Expand Down

0 comments on commit d9c9312

Please sign in to comment.