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

Preserve Inspector details tab between when selecting widgets #8400

Closed
kenzieschmoll opened this issue Oct 4, 2024 · 2 comments · Fixed by #8404
Closed

Preserve Inspector details tab between when selecting widgets #8400

kenzieschmoll opened this issue Oct 4, 2024 · 2 comments · Fixed by #8404
Assignees
Labels
P1 high priority issues at the top of the work list, actively being worked on. screen: inspector

Comments

@kenzieschmoll
Copy link
Member

If I am on the Render Objects tab, for example, and I am switching between selected widgets in the tree, the Render Objects tab should stay selected

@kenzieschmoll kenzieschmoll added screen: inspector P1 high priority issues at the top of the work list, actively being worked on. labels Oct 4, 2024
@elliette
Copy link
Member

elliette commented Oct 4, 2024

Hmm I think this is in part because the render objects tab (and flex explorer tab) don't exist for every widget, so we default to always showing the layout explorer tab first.

We could switch to trying to preserve the current selected tab, and if it doesn't exist switching to the layout explorer tab.

@kenzieschmoll
Copy link
Member Author

Could we try storing the preferred tab key / index, and then if that tab doesn't exist, show the first that does?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 high priority issues at the top of the work list, actively being worked on. screen: inspector
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants