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
Menu Selection Should Reload #163
Comments
@tsawyer Is your interest in just having the menu disappear if you happen to click on the same node, or to actually force a page reload? There's no technical action required of a browser when you click on its same node entry in the menu so it doesn't do anything. |
It seems unusual and unexpected for a page (any page) to not load when selecting it's menu item. But however you choose to address the problem is up to you. |
@tsawyer I'll force the page to reload. Since this the link points back to itself already in the form of index.html#node there isn't really the expectation for the page to reload syntactically. However I get your point of user expectations. |
All good except it doesn't work on the home button. web.ini clip:
|
Yeah. This is a bit ugly because I'm trying to subvert the expected browser behavior of not reloading a page + anchors when you're already at that location. I'll have to think about this one some more. |
When on a menu item's page, selecting the menu item again should reload the page. As it is now it does nothing. This behavior is particularly unfriendly on small screens as you are left with only the menu if you select the same item. That's because the menu takes up the full screen on small devices.
The text was updated successfully, but these errors were encountered: