Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › ios mobile search problem
This topic contains 8 replies, has 2 voices, and was last updated by Ernest Marcinko 2 years, 5 months ago.
- AuthorPosts
- January 3, 2021 at 7:53 am #30964
hey,
i have error with the search bar in ios phone,
when try to click on search bar in the mobile menu in ios the search bar Disappeared,
I think it’s behind the content that pops up a keyboard panel, I could not figure out how to fix it it only reads on the iPhone.
in android mobile it work good, the problem is only in IOSPlease let me know when you do any change
and what you did for next timeThank
Best Regards
OryanJanuary 4, 2021 at 1:50 pm #30974Hi Oryan,
I’m afraid the issue is unrelated to the plugin. I tried to open the site via an iPhone, but the top navigation is squished and not working: https://i.imgur.com/bY5BgVx.png
Best,
The cart icon is not working either. These are not features of the plugin – the icon is not controlled by this plugin, I believe it it probably a theme related feature. You might have to ask the theme author about that pop-out feature.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 4, 2021 at 3:01 pm #30980hey friend the cart working and the menu working please check again
what not working is the search in iphone when click is dispperdPlease help me there or tall me what need to do
January 4, 2021 at 4:12 pm #30986I’m afraid it is not the plugin causing the window closing there, as the popup is not controlled by the plugin either. I tested by removing the search from the client side, and replacing it with an empty input field. The pop-up closes whenever the input is focused, regarless it is the search input or not: https://youtu.be/vgh1uc2wSCY
Best,
That means the issue is unrelated to the search plugin, and it is probably an issue with the pop-up script.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 4, 2021 at 4:15 pm #30988what is your maen pop-up script there is no pop up
there is nev menu with elemntor and your search bar in the first line
i dont know what you talk about and how to go to ithelp here please give me idea or something if you know
January 4, 2021 at 4:31 pm #30991I’m sorry I phrased it incorrectly, by pop-up I meant the drop-down menu script. The search does not control how the navigation works, nor it opens/closes it in any way, it cannot do that.
For testing, I placed an empty input container to the script to make sure there is no conflict, and it looks like the menu script is automatically closing whenever an input field is clicled or gets focused on IOS mobile devices. I’m very sorry, but I don’t know why the menu is doing that, but the issue not related to the search plugin, as it is happening with a completely unrelated empty input field as well.You can try custom scripts to perhaps prevent event propagation and default handles, but I am not sure if they will work.
add_action('wp_footer', 'asp_add_menu_stop_focus_trigger'); function asp_add_menu_stop_focus_trigger() { ?> <script> jQuery(function($){ $('input.orig').on('click touchend focus', function(e){ e.preventDefault(); e.stopPropagation(); }); }); </script> <?php }
Try adding this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!
Please note that this issue is unrelated to the plugin, so I cannot guarantee any solution. You might have to ask the navigation menu developers about the input focus closing issue.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
January 4, 2021 at 5:17 pm #30997this is elementor nev menu
the crazy is it work in andorid
only is ios that not work
and the all menu work only when try to click on search this beJanuary 4, 2021 at 7:07 pm #30998That slove my problem thank you a lot
amazing serviceJanuary 5, 2021 at 9:26 am #31003You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.