Add below JS codes in Advanced Settings-Custom JavaScript section:
function addScrollListen() {
if(typeof jQuery != 'undefined') {
window.addEventListener('scroll', handleScroll, true)
} else {
setTimeout(() => {
addScrollListen()
}, 1000)
}
}
function handleScroll () {
let windowH = document.documentElement.clientHeight || document.body.clientHeight
let documentH = document.documentElement.scrollHeight || document.body.scrollHeight
let scrollTop = document.documentElement.scrollTop || document.body.scrollTop
if(windowH + scrollTop >= documentH - 100) {
jQuery('.giraffly_PCPreview_BOX').css('bottom', '-1000px'); // PC
jQuery('.giraffly_phoneButtonPreview').css('bottom', '-1000px'); // phone port
} else {
jQuery('.giraffly_PCPreview_BOX').css('bottom', '0'); // PC
jQuery('.giraffly_phoneButtonPreview').css('bottom', '0'); // phone port
}
}
addScrollListen()