flet
flet copied to clipboard
macOS dings when key is pressed
Problem: pressing keys produces "ding" sound on macOS. Repro code: https://github.com/flet-dev/examples/blob/main/python/controls/page/keyboard-events.py Possible solution: https://github.com/flutter/flutter/issues/74287#issuecomment-1091883884
Such an old flutter bug popping up just now?
@ndonkoHenri I reached out in the Discord channel. I am creating an app using Flet and found that keyboard shortcuts work but produce a ding
sound each time regardless of whether that keybinding is defined or not.
I can add a PR if I get insight into where to make these changes.
Based on this code, I believe we need to add a similar FocusNode
in this file?
Ref: https://github.com/flutter/flutter/issues/74287
Re: ding on macOS - honestly, I thought it's just me having that annoying sound 😂