This topic has 1 reply, 2 voices, and was last updated 9 years by Radu.

  • Author
  • #77550
     jerryd
    Participant

    the following solution is what I am using now to fix the overlaping issue between live notification dropdown ment and myacount dropdown menu. It will be great if you guys are able to apply this into next update.

    location: kleo/asset/js/app.js
    ln: 1913, update the default value to 100 ms
    $('#header .js-activated').dropdownHover({delay: 100}).dropdown();

    ln: 2272, this will be much more smoother when quickly hovering on live notification and myaccount back and forth

    COPY CODE
    dropdownToggle: function() {
    
            $(".navbar").on("mouseenter", ".kleo-toggle-menu", function() {
                var $this = $(this);
                var t = setTimeout(function() {
                    $this.find('.kleo-toggle-submenu').fadeIn(50);
                }, 70);
    
                $this.data('timeout', t);
            });
            $(".navbar").on("mouseleave", ".kleo-toggle-menu", function() {
                clearTimeout($(this).data('timeout'));
                $(this).find('.kleo-toggle-submenu').hide();
            });
    
    	}
    #77631
     Radu
    Moderator

    Hi,

    Thank you for posting this solution.

    Have a nice day

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?