Author Topic: Issue with Filter Textbox on Android Tablet (Chrome Browser)  (Read 207 times)

hirehop

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 43
    • View Profile
Issue with Filter Textbox on Android Tablet (Chrome Browser)
« on: October 18, 2024, 09:09:30 pm »
I'm experiencing an issue when using a filter textbox on my Android tablet in the Chrome browser. When I tap on the textbox, the on-screen keyboard briefly pops up but then immediately closes, making it impossible to enter any text.

Has anyone encountered a similar problem? Any suggestions for a fix would be greatly appreciated.

Thanks in advance for your help!

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Issue with Filter Textbox on Android Tablet (Chrome Browser)
« Reply #1 on: October 21, 2024, 10:10:20 pm »
Kindly share a jsfiddle with reproducible issue.

jplevene

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 131
    • View Profile
Re: Issue with Filter Textbox on Android Tablet (Chrome Browser)
« Reply #2 on: October 26, 2024, 06:25:05 pm »
It's due to a Chrome bug when the keyboard pops up the screen resizes a few times https://issues.chromium.org/issues/40924170.

When you select the column filter, the screen resizes and if the grid is getting refreshed on a resize, the header is re-drawn and the focused input is then unfocused, and as a new column header is then created, it obviously doesn't have the focus.

Solutions could be to put the grid in a div and make grid width and height 100% of the parent, then when the screen resizes, resize the div, not the grid.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Issue with Filter Textbox on Android Tablet (Chrome Browser)
« Reply #3 on: October 28, 2024, 06:51:43 pm »
The grid body / header cells are not re- redrawn when the browser is resized as can be observed in the example:

https://paramquery.com/pro/demos/filter_header_local