Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 📜 Description Added an ability to customize `offset` for `KeyboardToolbar`. ## 💡 Motivation and Context If you use `KeyboardToolbar` with `bottom-tabs` (or in general if the bottom of the screen is not touching the bottom of window) then `KeyboardToolbar` will not be sticky to the keyboard. To fix that we have to position toolbar in the end of the window. Since `KeyboardToolbar` is based on `KeyboardStickyView` (and `KeyboardStickyView` already has `offset` property) I decided to merge these propeprties. Now `KeyboardToolbar` accepts `offset` property and merges it with default value (for closed state). Closes #622 ## 📢 Changelog <!-- High level overview of important changes --> <!-- For example: fixed status bar manipulation; added new types declarations; --> <!-- If your changes don't affect one of platform/language below - then remove this platform/language --> ### Docs - mention that `KeyboardToolbar` inherits properties from `KeyboardStickyView`. ### JS - merge `offset` property with default value and pass it to `keyboardStickyView`; ## 🤔 How Has This Been Tested? Tested manually in reproduction example. ## 📸 Screenshots (if appropriate): |Before|After| |-------|-----| |![image](https://github.com/user-attachments/assets/79bd6116-a73f-44c6-ad98-14dd1e08d350)|![image](https://github.com/user-attachments/assets/c98dda17-dc0b-44c7-89ef-b146eaafb42f)| ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
- Loading branch information