ios mobile search problem

This topic contains 8 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 3 years, 2 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #30964
    oryan07
    oryan07
    Participant

    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 IOS

    Please let me know when you do any change
    and what you did for next time

    Thank
    Best Regards
    Oryan

    #30974
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi 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
    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.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #30980
    oryan07
    oryan07
    Participant

    hey friend the cart working and the menu working please check again
    what not working is the search in iphone when click is dispperd

    Please help me there or tall me what need to do

    #30986
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I’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
    That means the issue is unrelated to the search plugin, and it is probably an issue with the pop-up script.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #30988
    oryan07
    oryan07
    Participant

    what 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 it

    help here please give me idea or something if you know

    #30991
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I’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 :)


    #30997
    oryan07
    oryan07
    Participant

    this 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 be

    #30998
    oryan07
    oryan07
    Participant

    That slove my problem thank you a lot
    amazing service

    #31003
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.