Skip to content

Commit

Permalink
feat(modal): auto focus by default
Browse files Browse the repository at this point in the history
  • Loading branch information
akai committed Nov 13, 2020
1 parent 270f8fc commit 1fe056e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/Base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Base: React.FC<ModalProps> = (props) => {
title,
titleId = useNextId('modal-'),
showClose = true,
autoFocus,
autoFocus = true,
backdrop = true,
overflow,
actions,
Expand Down

0 comments on commit 1fe056e

Please sign in to comment.