Questions tagged [event-behaviour]

2 questions
0
votes
1 answer

PyAutoGUI keyboard shortcut unexpectedly triggers Chrome's Ctrl+F (find in page) and Ctrl+O (open file). How to prevent this?

I'm using PyAutoGUI to listen for a keyboard shortcut, but when I press the shortcut keys, it triggers Google Chrome's Ctrl + F and Ctrl + O shortcuts to find in page and open a file. However, I do not want it to trigger Chrome's shortcuts. I only…
-1
votes
1 answer

GestureDetector with HitTestBehavior.opaque not work properly to hide keyboard screen

I want to hide screen keyboard by onTap outside TextField or anywhere on screen. Then i wrap my Scaffold with GestureDetector like below. i already try both with onTap and onTapDown. GestureDetector( behavior: HitTestBehavior.opaque, onTapDown:…
pmatatias
  • 3,491
  • 3
  • 10
  • 30