Author Topic: Search functionality not working in mobile  (Read 422 times)

vijay@spinetechnologies

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 85
    • View Profile
Search functionality not working in mobile
« on: April 03, 2024, 01:16:52 pm »
I have used pqselect plugin in my project. I found that the search is not supported on mobile. When I try to search, every time I touch the search text box, the mobile keyboard appears, and the select box disappears as soon as the keyboard appears.

Kindly help me in this matter

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6210
    • View Profile
Re: Search functionality not working in mobile
« Reply #1 on: April 04, 2024, 06:56:19 am »
Thanks for reporting issue. I'm looking into it and would provide the fix soon.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6210
    • View Profile
Re: Search functionality not working in mobile
« Reply #2 on: April 11, 2024, 09:50:16 pm »
Mobile keyboard raises the window resize event which cause the popup to close with default closeOnWindowResize: true option of pqselect.

https://paramquery.com/pro/api/select#option-closeOnWindowResize

Please set the option closeOnWindowResize: false and let me know whether it fixes the issue.

vijay@spinetechnologies

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 85
    • View Profile
Re: Search functionality not working in mobile
« Reply #3 on: April 17, 2024, 06:10:10 pm »
Hi Paramveer,

I tried the proposed solution and it worked for me.

Thank You :D