Open stanleyxu2005 opened 1 year ago
Please create a Codesandbox for visual confirm your bug.
Please create a Codesandbox for visual confirm your bug.
Code link attached. https://codesandbox.io/s/hardcore-estrela-8djufu?file=/src/App.jsx It's a feature request. Not a real bug.
I'm using Framework7 v7.1.5 Codesandbox
Is your feature request related to a problem? Please describe. I'm designing a tabbed app. By entering a new page, if
f7-page
contains attributeno-toolbar
, the tabbar will be hide automatically. But it is alway with animation.Describe the solution you'd like I'd like to have an option to determine, whether show/hide toolbar/tabbar should with animation.
Here it the current implementation in toolbar.js
toolbar.d.ts
Describe alternatives you've considered My app contains 4 views. Each view is related with a tab. Only the first page in each view should show tabbar, all other pages after the first page should not have tabbar. Currently I need to manually add
no-toolbar
to all other pages. It will be great to define the auto-hide behavior for the tabbar. e.g.auto-hide
is added tof7-toolbar
, all pages that does not containshow-toolbar
will not show tabbarauto-show
is added tof7-toolbar
, all pages that does not containno-toolbar
will show tabbar.For example