Commit a5ff3beb authored by Moody Salem's avatar Moody Salem

add a comment for the previous change

parent 35ccf425
...@@ -141,6 +141,7 @@ export default function Modal({ ...@@ -141,6 +141,7 @@ export default function Modal({
initialFocusRef={initialFocusRef} initialFocusRef={initialFocusRef}
mobile={true} mobile={true}
> >
{/* prevents the automatic focusing of inputs on mobile by the reach dialog */}
{initialFocusRef ? null : <div tabIndex={1} />} {initialFocusRef ? null : <div tabIndex={1} />}
<Spring // animation for entrance and exit <Spring // animation for entrance and exit
from={{ from={{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment