Title: Mobile layout problem.
Last modified: April 6, 2020

---

# Mobile layout problem.

 *  Resolved [cheonmu](https://wordpress.org/support/users/cheonmu/)
 * (@cheonmu)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/mobile-layout-problem/)
 * Hi,
 * When I enter the search word in the search bar, AJAX search result is displayed.
 * When I click and drag it downwards to view mote search results, the search result
   screen is all broken.
 * This occurs on mobile an I have taken a [screenshot](https://i.imgur.com/HEeepEv.jpg)
   and I am using developer version.
 * Please let me know how do i solve this.
 * Thank you.
    -  This topic was modified 6 years, 2 months ago by [cheonmu](https://wordpress.org/support/users/cheonmu/).
    -  This topic was modified 6 years, 2 months ago by [cheonmu](https://wordpress.org/support/users/cheonmu/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmobile-layout-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [cheonmu](https://wordpress.org/support/users/cheonmu/)
 * (@cheonmu)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/mobile-layout-problem/#post-12672857)
 * Hi, I found solution.
 * Problem was compitiblity issue live search plugin with Sticky hearder function
   in Flatsome theme.
 * I just added below css and solved.
 * `#header.has-sticky.sticky-jump .dgwt-wcas-suggestions-wrapp.woocommerce.dgwt-
   wcas-has-img.dgwt-wcas-has-price.js-dgwt-wcas-initialized{display:none;}`
 * But this is not perfect way to solve problem.
 * It takes few time before search result is hidden. ([gif link](https://imgur.com/a/4WtQpx2))
 * I hope to solved this issue.
 * Thank you.
    -  This reply was modified 6 years, 2 months ago by [cheonmu](https://wordpress.org/support/users/cheonmu/).
    -  This reply was modified 6 years, 2 months ago by [cheonmu](https://wordpress.org/support/users/cheonmu/).
    -  This reply was modified 6 years, 2 months ago by [cheonmu](https://wordpress.org/support/users/cheonmu/).
    -  This reply was modified 6 years, 2 months ago by [cheonmu](https://wordpress.org/support/users/cheonmu/).
 *  Plugin Author [Damian Góra](https://wordpress.org/support/users/damian-gora/)
 * (@damian-gora)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/mobile-layout-problem/#post-12703760)
 * Hi there,
 * Apologies for the delayed response.
    Here is a better JavaSript solution:
 *     ```
       (function ($) {
   
           $( window ).scroll(function() {
           	var $currentSearch = $('.dgwt-wcas-search-wrapp.dgwt-wcas-active');
   
           	if($currentSearch.length){
   
                       var $input = $currentSearch.find('.dgwt-wcas-search-input');
   
                       if (typeof $input.data('autocomplete') == 'object') {
                           instance = $input.data('autocomplete');
   
                           instance.hide();
   
                       }
   
           	}
   
           });
   
       })(jQuery);
       ```
   
 * Best
    Damian
 *  Thread Starter [cheonmu](https://wordpress.org/support/users/cheonmu/)
 * (@cheonmu)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/mobile-layout-problem/#post-12736173)
 * [@damian-gora](https://wordpress.org/support/users/damian-gora/)
 * Hi, Thanks for answering.
 * This issue has been solved as I applied your code to my website
 * But I am sorry that I have another problem. It’s the same issue as “[Search result closed automatically](https://wordpress.org/support/topic/search-result-closed-automatically/).”
   which I posted before.
 * I sorted it out by applying the developer’s version at that time.
 * But it occurred again as I applied both the developer’s version and your code
   at the same time.
 * I am sorry so many question.
 * Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Mobile layout problem.’ is closed to new replies.

 * ![](https://ps.w.org/ajax-search-for-woocommerce/assets/icon-256x256.png?rev=
   2883754)
 * [FiboSearch - Ajax Search for WooCommerce](https://wordpress.org/plugins/ajax-search-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-search-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-search-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [cheonmu](https://wordpress.org/support/users/cheonmu/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/mobile-layout-problem/#post-12736173)
 * Status: resolved