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

fix: wrong tab selected after navigating from different route #3012

Merged

Conversation

anwarulislam
Copy link
Member

@anwarulislam anwarulislam commented Apr 21, 2023

Description

Issue: If multiple tabs are opened, and the first tab is selected. after going to another page from the REST page and then coming back to REST, the selection goes to the next tab.

Previously, we were forcefully selecting the first possible Window forcefully after removing any active Window. And it was happening onBeforeUnmounted. But, now it will select the last Window automatically.

  • Not Completed
  • Completed

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Copy link
Member

@AndrewBastin AndrewBastin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 💯

@AndrewBastin AndrewBastin force-pushed the fix/selected-tab-incremental-issue branch from 891a3e6 to 54925d6 Compare April 23, 2023 10:30
@AndrewBastin AndrewBastin merged commit 41fa3b5 into hoppscotch:main Apr 23, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants