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

Keeping header actions even when no tabs are open #777

Open
danielgoodwin97 opened this issue Nov 30, 2024 · 1 comment · May be fixed by #783
Open

Keeping header actions even when no tabs are open #777

danielgoodwin97 opened this issue Nov 30, 2024 · 1 comment · May be fixed by #783

Comments

@danielgoodwin97
Copy link

I'm currently running into an issue where I need to keep the header actions for a group/view even when there are no tabs.

I've found an example of someone doing something similar here, but it's not completely applicable. Due to the fact that I need the menu button to be on the same line as the tabs themselves, which is why prefixHeaderActionsComponent and others are perfect for what I'm trying to do.

Here's an image of the current setup:
image

Here's the desired outcome when closing the only tab:
image

Here's the reality (it's nothing, everything disappears)
image

I've been combing through documentation for a while and haven't been able to find something that would help me for this. The only thing that I can think of is to make sure there's always a tab open by adding a invisible tab when there are no actual tabs open. I'm hoping this isn't the solution because it's gross.

Any help appreciated 🙏

@chhsgithub
Copy link

+1

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 a pull request may close this issue.

2 participants