I’ve got a search bar on my site and currently I have the “delay” set to 1000ms before calling an API. I’m noticing, however, that on mobile it takes users longer to type out their search query causing a lot of unnecessary API calls.
Right now the best solution I’m aware of to this is to create separate search bars where one only shows on desktop and the other only on mobile, but that feels redundant.
Is there a way to configure my existing search element to change the delay based on mobile/desktop or does this need to be filed as a feature request?
Ha! That’s a great observation. It looks to me like a limitation on the current element. I’ll share it with the tech team. It might be something we can add.
Yeah it’s mainly when the search involves both letters and numbers. Most mobile keyboards make you switch between layouts depending on if you are wanting numbers or letters. So someone who is searching a “m32u” monitor will end up searching “m” then “m32” and then “m32u” because of that time between switching. Ends up making all my saved search queries in my database a bit more confusing