Open machin3io opened 2 hours ago
We found the following entries in the FAQ which you may find helpful:
Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review.
This is an automated reply, generated by FAQtory
Using the Enter or Leave event decorators with a CSS selector throws the following exception:
Textual Diagnostics
Versions
Python
Operating System
Terminal
Rich Console options
It will be helpful if you run the following command and paste the results:
Example Code
Without the selectors it works fine, but then I have to check within the method if I'm entering or leaving a specific widget I want to act on: