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.
Hello,
We have a problem with the RadioButtons buttons located in the RadioSet. When switching the buttons, sometimes the situation with the video appears.
issue_textual.webm
Unfortunately, it is not possible to reproduce the problem with MRE (or it is so difficult). We do a workaround for this problem by adding a refresh call in the watch__selected method.
Workaround code:
class MyRadioSet(RadioSet):
def watch__selected(self) -> None:
super().watch__selected()
self.refresh(layout=True)
Hello, We have a problem with the
RadioButtons
buttons located in theRadioSet
. When switching the buttons, sometimes the situation with the video appears. issue_textual.webm Unfortunately, it is not possible to reproduce the problem with MRE (or it is so difficult). We do a workaround for this problem by adding arefresh
call in thewatch__selected
method. Workaround code:Textual diagnose: