Skip to content

[16.0][FIX] shopfloor_mobile_base: prevent virtual keyboard from disappearing after each keystroke#1160

Draft
nicolas-delbovier-acsone wants to merge 1 commit into
OCA:16.0from
acsone:16.0-fix-shopfloor_mobile_base-searchbar-popping-virtual-keyboard
Draft

[16.0][FIX] shopfloor_mobile_base: prevent virtual keyboard from disappearing after each keystroke#1160
nicolas-delbovier-acsone wants to merge 1 commit into
OCA:16.0from
acsone:16.0-fix-shopfloor_mobile_base-searchbar-popping-virtual-keyboard

Conversation

@nicolas-delbovier-acsone
Copy link
Copy Markdown

@nicolas-delbovier-acsone nicolas-delbovier-acsone commented Apr 22, 2026

Problem

In the current implementation, manual text entry in the search bar is nearly impossible on mobile devices. After every keystroke, the virtual keyboard hides, requiring the user to tap the input field again for every single character.

Root Cause

Following the changes in #767, a click event is triggered whenever the UI focuses on the search bar. Because the component calls this.capture_focus() within the updated lifecycle hook:

  1. User types a character.
  2. The state updates, triggering the updated hook.
  3. capture_focus() is called.
  4. A click is triggered
  5. The virtual keyboard gets hidden

I do not have a scanner device to test that the focus still works as expected right now, I'll be testing that soon and come back in here

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hi @simahawk,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added series:16.0 mod:shopfloor_mobile_base Module shopfloor_mobile_base labels Apr 22, 2026
@nicolas-delbovier-acsone nicolas-delbovier-acsone changed the title [FIX] shopfloor_mobile_base: prevent virtual keyboard from disappearing after each keystroke [16.0][FIX] shopfloor_mobile_base: prevent virtual keyboard from disappearing after each keystroke Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:shopfloor_mobile_base Module shopfloor_mobile_base series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants