Skip to content

Commit

Permalink
Set default 'align' to 'end' for better backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sookmax committed Nov 22, 2023
1 parent b82d24d commit 1b83d98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -70,7 +70,7 @@ function _SearchAutocompleteBase<T extends object>(props: SpectrumSearchAutocomp
menuTrigger = 'input',
shouldFlip = true,
direction = 'bottom',
align = 'start',
align = 'end', // for backward compatibility
isQuiet,
menuWidth: customMenuWidth,
loadingState,
Expand Down
2 changes: 1 addition & 1 deletion packages/@react-spectrum/combobox/src/ComboBox.tsx
Expand Up @@ -74,7 +74,7 @@ const ComboBoxBase = React.forwardRef(function ComboBoxBase<T extends object>(pr
menuTrigger = 'input',
shouldFlip = true,
direction = 'bottom',
align = 'start',
align = 'end', // for backward compatibility
isQuiet,
loadingState,
onLoadMore,
Expand Down

0 comments on commit 1b83d98

Please sign in to comment.