diff --git a/tinboard/widgets/tags.py b/tinboard/widgets/tags.py index 99e8b95..9b4afc3 100644 --- a/tinboard/widgets/tags.py +++ b/tinboard/widgets/tags.py @@ -73,6 +73,12 @@ def _prompt(self, tag: str, count: int) -> RenderableType: prompt.add_row(tag, f"[dim i]{count}[/]") return prompt + def clear_options(self) -> Self: + """Workaround for https://github.com/Textualize/textual/issues/3714""" + super().clear_options() + self._clear_content_tracking() + return self + def show(self, tags: list[tuple[str, int]]) -> Self: """Show the given list of tags.