Open Acex187x opened 5 months ago
Have you checked out the documentation yet? It's not a bug; it's actually an "out of the box" feature 😐
/**
* Offset from the Keyboard (in px)
* Has effect only when `position` is `bottom` and Keyboard is visible
* Default value: `10`
*/
keyboardOffset?: number;
Describe the bug Using
Toast
component withbottomOffset={0}
andposition="bottom"
, there is still ~10px gap between end of the screen and toast, even with keyboard closed all the time. WhenkeyboardOffset={0}
is provided, gap disappears.Steps to reproduce Steps to reproduce the behavior:
Toast.show({...})
keyboardOffset={0}
to the Toast component like this:Expected behavior
keyboardOffset
does not affect Toast layout while keyboard is not open.Screenshots
Code sample Provided above
Environment (please complete the following information):
Additional context It's my first issue, hope I did everything right. Do not hesitate to ask additional information.