Change tab on swipe
Does any one know how to change the view when the user swipe somewere on the screen, like the tabs from whatsapp?
Dobromir last edited by Dobromir
Use a slider component with your content in each slide. Then you can watch the
@slideevent emitted from the slider and change the tabs above. Problem is that you have to have a prop for the tab nav and the currentSlide in the slider and sync them altogether which can be a pain.
Currently the tabs component doesn’t support this out of the box. You can file an issue on github and who ever has time to do this first will try to do a PR.