Avoiding keyboard
Unistyles 3.0 introduces a new inset
called ime
, which is automatically animated when the keyboard appears or disappears.
Using this inset in your style will automatically register it for future updates.
Unistyles dynamically re-calculates your styles based on their dependencies. To learn more about how Unistyles re-calculates your styles, please refer to the guide.
Usage
In this example, the container
will automatically adjust to avoid the keyboard, ensuring the input
remains visible at all times.