Dear Support,
I've noted that the main menu is keeping jumping when the user scrolls. This behaviour is weird, beacause in your demo the main menu looks stable when scrolling. How can I fixed?
Best,
Roberto
Cyberek wrote:We will try with another menu style in one of next releases as this one seems to bother our users more and more. Sadly,if you revert you will disable menu usage on iOS (due to a bug in the way Mobile Safari renders some elements).
#gkMenuWrap {
background: #fff;
-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, .26);
-moz-box-shadow: 0 0 6px rgba(0, 0, 0, .26);
box-shadow: 0 0 6px rgba(0, 0, 0, .26);
min-height: 70px;
left: 0;
position: absolute;
-webkit-transition: top .2s ease-out;
-moz-transition: top .2s ease-out;
-ms-transition: top .2s ease-out;
-o-transition: top .2s ease-out;
transition: top .2s ease-out;
top: -150px;
width: 100%;
z-index: 1001;
}
#gkMenuWrap {
background: #fff;
-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, .26);
-moz-box-shadow: 0 0 6px rgba(0, 0, 0, .26);
box-shadow: 0 0 6px rgba(0, 0, 0, .26);
min-height: 70px;
left: 0;
position: fixed;
-webkit-transition: top .2s ease-out;
-moz-transition: top .2s ease-out;
-ms-transition: top .2s ease-out;
-o-transition: top .2s ease-out;
transition: top .2s ease-out;
top: -150px;
width: 100%;
z-index: 1001;
}
.imageBg #gkMenuWrap {
-webkit-transition: top .2s ease-out;
-moz-transition: top .2s ease-out;
-ms-transition: top .2s ease-out;
-o-transition: top .2s ease-out;
transition: top .2s ease-out;
}
// Fix for iOS devices with iOS >= 8.0
var menuWrap = jQuery('#gkMenuWrap');
if(menuWrap.length) {
jQuery(window).on('scroll', function(e) {
if(menuWrap.hasClass('active')) {
menuWrap.css('top', jQuery(window).scrollTop());
} else {
menuWrap.css('top', '-100px');
}
});
}
// fix for the iOS devices
#gkMenuWrap.active {
position: fixed !important;
top: 0 !important;
}
#gkMenuWrap.active {
position: fixed !important;
top: 0 !important;
}