-
Notifications
You must be signed in to change notification settings - Fork 905
F3 key triggered when inline and VerticalScroll takes up 100% of the screen #5805
New issue
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
Comments
If you're running in inline mode, presumably you wouldn't want the app to take up the full screen anyway? Adding a CSS = """
Screen:inline {
max-height: 97vh;
}
""" Running this in debug mode, it looks like it is the cursor position that's being misinterpreted as a F3 key press. I don't quite understand why, but I'm guessing related to the screen height being auto in inline mode? From a quick git bisect, it looks like this was introduced in 80175f0, if it helps someone figure this out! Extract from keys.log
|
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
I see a lot of F3 key events on the console when I have a VerticalScroll which is taking up 100% of the height of an inline app, eg:
To recreate:
run with
textual run --dev test.py
and you will see f3 key events in the console; it appears they are raised each time the app gains or loses focus, or redraws.Uncomment the
Header
, run withinline=False
, or set a css height under 100% and they stop appearing.The text was updated successfully, but these errors were encountered: