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

Disabled TabPane can still be Accessed/selected via the underline bar #4701

Closed
mayermakes opened this issue Jul 4, 2024 · 2 comments · Fixed by #4702
Closed

Disabled TabPane can still be Accessed/selected via the underline bar #4701

mayermakes opened this issue Jul 4, 2024 · 2 comments · Fixed by #4702

Comments

@mayermakes
Copy link

A Tabpane can be deactivated like this:

with TabbedContent():
    with TabPane("HELP", id="HELP-tab" ,disabled=True):
        pass

the Title/Label is not clickable any more, yet the pane can still be accessed by clicking on the underline bar.

grafik
grafik

IMO this way of interacting with that TabPane should equally be restricted when disabled=True.

Copy link

github-actions bot commented Jul 4, 2024

Thank you for your issue. Give us a little time to review it.

PS. You might want to check the FAQ if you haven't done so already.

This is an automated reply, generated by FAQtory

Copy link

Don't forget to star the repository!

Follow @textualizeio for Textual updates.

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.

1 participant