Announcements
Hello Everyone,
I have built a Canvas App that uses a barcode scanner in combination with a text input field. The app is mainly intended as a scanning app, but it should also allow manual text input when needed.
The issue we are experiencing is that after a scan, the on-screen keyboard often (but not always) appears automatically. This is undesired behavior, because the primary use case is scanning and users then have to manually close the keyboard each time.
We have already tried several approaches, including:
Moving the focus to another control using SetFocus()
SetFocus()
Resetting the input field after each scan
Using a PCF component with a KeyListener
Working with a hidden input field
Unfortunately, none of these solutions solved the problem consistently.
My question is: Is there a known way in Power Apps to prevent the on-screen keyboard from appearing after a scan, or to programmatically suppress the keyboard in this scenario? Or is this a known limitation of the barcode scanner / input focus behavior in Canvas Apps?
Any suggestions or best practices would be greatly appreciated.
Thank you in advance!
Set(varManualEntryMode, true);
varManualEntryMode
If(varManualEntryMode, DisplayMode.Edit, DisplayMode.View)
Set(varDataValue, YourBarcodeScannerControlName.Value);
varScanValue
!varManualEntryMode
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 531 Most Valuable Professional
Haque 261
Kalathiya 221 Super User 2026 Season 1