Hi,
Actually that was “feature”. But if you want to disable that feature, that is quite easy to do though.
Open this JS file:
www.thumbweldingsupplies.com/templates/jsn_venture2_pro/html/com_virtuemart/assets/js/materialize.js
find these lines:
if (offsetTop + activates.innerHeight() > windowHeight) {
// If going upwards still goes offscreen, just crop height of dropdownMat.
if (offsetTop + originHeight - activates.innerHeight() < 0) {
var adjustedHeight = windowHeight - offsetTop - verticalOffset;
activates.css('max-height', adjustedHeight);
} else {
// Flow upwards.
if (!verticalOffset) {
verticalOffset += originHeight;
}
verticalOffset -= activates.innerHeight();
}
}
and replace them ALL with these:
if (offsetTop + activates.innerHeight() > windowHeight) {
var adjustedHeight = windowHeight - offsetTop - verticalOffset;
activates.css('max-height', adjustedHeight);
}
FYI: pay attention to the curly braces.. “}” and “{“.. while selecting the lines