You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: allow keyboard toolbar take all available space (#865)
## 📜 Description
Apply arrow/done paddings on elements level, not entire container, so
that conditional rendering will exclude potentially undesired paddings.
## 💡 Motivation and Context
Potentially "padding by default" approach may be not desired when you
want your custom element (content) to place that space.
So in this PR I re-worked an approach, and if done/arrows are hidden,
then `content` will fill entire container.
Closes#848
Successor of
#851
## 📢 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 -->
### JS
- removed `paddingHorizontal` from main container;
- added container for arrows and apply padding there;
- apply padding (+8px) to Done button (to compensate removed padding
from main container);
## 🤔 How Has This Been Tested?
Tested manually on iPhone 15 Pro (iOS 17.5 Fabric).
## 📸 Screenshots (if appropriate):
|No arrows|No done button|No toolbar elements|All elements|
|----------|----------------|--------------------|------------|
|||||
## 📝 Checklist
- [x] CI successfully passed
- [x] I added new mocks and corresponding unit-tests if library API was
changed
0 commit comments