Commit 35ccf425 authored by Moody Salem's avatar Moody Salem

improvement(modals): do not focus inputs automatically on mobile

parent fe030412
......@@ -141,6 +141,7 @@ export default function Modal({
initialFocusRef={initialFocusRef}
mobile={true}
>
{initialFocusRef ? null : <div tabIndex={1} />}
<Spring // animation for entrance and exit
from={{
transform: isOpen ? 'translateY(200px)' : 'translateY(100px)'
......
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