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

Allow nav_item to handled as link when user right clicks (or ctrl key) and be opened in new browser tab or window #1932

Closed
DeeJaayArgh opened this issue Apr 14, 2023 · 0 comments · Fixed by #2175
Assignees
Labels
feature Feature request ui Related to UI

Comments

@DeeJaayArgh
Copy link

Is your feature request related to a problem? Please describe

Often users want to view different parts of app at the same time if they have the screen space to do it. modifying nav_item's to allow this would be a useful feature. It would need to come along with a developer warning in the docs to remind that the new window or tab is a new client and thus any client state info is lost. If the app has little or no state preserved in the app then encoding the state in the hash route might be sufficient

Describe the solution you'd like

right clicking on a nav_item would allow the user the option of opening the target of the nav_item in a new window or browser tab. This should be an optional feature since if the app has a lot of state information in q.client then that will be unavailable in the new window or tab

Describe alternatives you've considered

Button with path provided can be used, but that only allows opening in a separate tab

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request ui Related to UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants