Skip to content

Commit

Permalink
Pull Tooltip out of the main DOM
Browse files Browse the repository at this point in the history
  • Loading branch information
davep committed Jun 8, 2023
1 parent 8947dbe commit 17543ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Fixed setting `TreeNode.label` on an existing `Tree` node not immediately https://github.com/Textualize/textual/pull/2713
- Correctly implement `__eq__` protocol in DataTable https://github.com/Textualize/textual/pull/2705
- Fixed `Tooltip` causing a `query_one` on a lone `Static` to fail https://github.com/Textualize/textual/issues/2723

### Changed

Expand Down
2 changes: 1 addition & 1 deletion src/textual/widgets/_tooltip.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from textual.widgets import Static


class Tooltip(Static):
class Tooltip(Static, inherit_css=False):
DEFAULT_CSS = """
Tooltip {
layer: _tooltips;
Expand Down

0 comments on commit 17543ed

Please sign in to comment.