Skip to content

Commit

Permalink
bug(DatePicker): apply flip modifier if placement is auto
Browse files Browse the repository at this point in the history
  • Loading branch information
ansmonjol committed Oct 10, 2023
1 parent 58a56fe commit 8db840d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/DatePicker/DatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const DatePicker = ({
modifiers: [
{
name: 'flip',
enabled: false,
enabled: placement === 'auto',
},
{
name: 'offset',
Expand Down

0 comments on commit 8db840d

Please sign in to comment.