Textualize / textual

The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
https://textual.textualize.io/
MIT License
24.12k stars 744 forks source link

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

Open mayermakes opened 6 days ago

mayermakes commented 6 days ago

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.

github-actions[bot] commented 6 days ago

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