Ask A Question

Notifications

You’re not receiving notifications from this thread.

searchkick's autocomplete does not work on my iphone safari?

Jeramae Bohol asked in General

I've implemented elasticsearch/searchkick on my rails app and it works both in development and production on desktop browsers. But I noticed that the autocomplete does not work on safari on my phone. I reviewed the searchkick's docs and I've seen nothing about this issue. Anyone?

Reply

Hey Jeramae,

Are you using jQuery autocomplete for the frontend? I wonder if that's having trouble on Safari or something. It isn't likely to be the server-side ElasticSearch or Searchkick stuff if it's working fine in other browsers.

Reply

Just turned out that I didn't include the autocomplete method on the before_action exception for authentication.

Reply

That'd do it, glad you got it fixed. 🙌

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 77,200+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.