-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
Open this in iPhone and try to fill in the input field. Keyboard covers the input box instead of pushing it.
import Sheet from "react-modal-sheet";
import { useState } from "react";
function Example() {
const [isOpen, setOpen] = useState(false);
return (
<>
<button onClick={() => setOpen(true)}>Open sheet</button>
<Sheet
detent="content-height"
isOpen={isOpen}
onClose={() => setOpen(false)}
>
<Sheet.Container>
<Sheet.Header />
<Sheet.Content>
<input
style={{
width: "100%",
fontSize: 18
}}
/>
</Sheet.Content>
</Sheet.Container>
<Sheet.Backdrop />
</Sheet>
</>
);
}
export default Example;screenRecording-28-8-2023-16-58.mp4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels