Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cyberbeat opened this issue Mar 19, 2024 · 0 comments
Open

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

cyberbeat opened this issue Mar 19, 2024 · 0 comments

Comments

@cyberbeat
Copy link

cyberbeat commented Mar 19, 2024

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant