We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Applying visibility: hidden to a container, makes the container hidden, but not the children.
Pretty sure browser CSS would also make the children hidden, so we should replicate that functionality.
The follow example demonstrates the issue:
from textual.app import App, ComposeResult from textual.widget import Widget from textual.widgets import Static class VisApp(App): CSS = """ #container { border: solid red; visibility: hidden; } """ def compose(self) -> ComposeResult: yield Widget( Static("foo"), Static("bar"), id="container", ) if __name__ == "__main__": app = VisApp() app.run()
With the above, both foo and bar are visible, while the container is not.
The text was updated successfully, but these errors were encountered:
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Applying visibility: hidden to a container, makes the container hidden, but not the children.
Pretty sure browser CSS would also make the children hidden, so we should replicate that functionality.
The follow example demonstrates the issue:
With the above, both foo and bar are visible, while the container is not.
The text was updated successfully, but these errors were encountered: