Skip to content

Commit

Permalink
Added settings to dependency array to update selection on settings ch…
Browse files Browse the repository at this point in the history
…ange (#1889)
  • Loading branch information
bmingles committed Apr 1, 2024
1 parent fe09fa6 commit c032c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jsapi-components/src/spectrum/Picker/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function Picker({
isCanceled = true;
};
},
[getItemIndexByValue, setViewport]
[getItemIndexByValue, settings, setViewport]
);

return (
Expand Down

0 comments on commit c032c9b

Please sign in to comment.