framework7io / framework7

Full featured HTML framework for building iOS & Android apps
http://framework7.io
MIT License
18.08k stars 3.23k forks source link

Problem with navbar hideOnPageScroll and master-detail-view #4254

Open cyberbeat opened 6 months ago

cyberbeat commented 6 months ago

When using the hideOnPageScroll Feature in combination master-detail-view, I expect that the feature always behaves the same, but with a wide screen with both master and detail visible (tablet screen), when a detail-page is open, the hideOnPageScroll feature does not work anymore on the master view. So first, without any detail-page clicked, the feature works, but after clicking detail-link, it does not work anymore.

This also has another strange side effect:

  1. On start, scroll down the master-page, so that the navbar is hidden, but a detail-link still is visible
  2. then click the detail-link
  3. then scroll up the master-page Now the navigation is gone completely (hidden forever) on the master-page.

This is an example (you should open the app in a new window to have both master and detail visible, then click for example "info" and then scroll down the master page on the left): https://codesandbox.io/p/devbox/strange-gauss-cytf34 https://cytf34-5173.csb.app/