Skip to content

Commit

Permalink
add a comment for the previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed Jun 22, 2020
1 parent 35ccf42 commit a5ff3be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export default function Modal({
initialFocusRef={initialFocusRef}
mobile={true}
>
{/* prevents the automatic focusing of inputs on mobile by the reach dialog */}
{initialFocusRef ? null : <div tabIndex={1} />}
<Spring // animation for entrance and exit
from={{
Expand Down

1 comment on commit a5ff3be

@vercel
Copy link

@vercel vercel bot commented on a5ff3be Jun 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.