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
It would be great to support adding a tab that is not in any way handled by animated tabbar except for rendering it's component. That would allow me to implement a UI like this:
Where middle button is my custom component that handles it's press and everything. I am able to easily implement this using react navigation 5, but was not able to find a way to do it in animated tabbar because if I don't configure a tab component it throws.
Why it is needed
More flexibility in UI tab and implicit support for any custom per-tab behavior like custom animation.
Possible implementation
In routesWithTabConfig function you could skip routes you do not find in configuration and create a custom component tab instead. Then in all PresetComponents you would check if current tab is standard tab for given preset or custom one. If it's custom one you could just render it as it is?
It's very high level idea though.
The text was updated successfully, but these errors were encountered:
Feature Request
It would be great to support adding a tab that is not in any way handled by animated tabbar except for rendering it's component. That would allow me to implement a UI like this:
Where middle button is my custom component that handles it's press and everything. I am able to easily implement this using react navigation 5, but was not able to find a way to do it in animated tabbar because if I don't configure a tab component it throws.
Why it is needed
More flexibility in UI tab and implicit support for any custom per-tab behavior like custom animation.
Possible implementation
In routesWithTabConfig function you could skip routes you do not find in configuration and create a custom component tab instead. Then in all PresetComponents you would check if current tab is standard tab for given preset or custom one. If it's custom one you could just render it as it is?
It's very high level idea though.
The text was updated successfully, but these errors were encountered: