fixed scroll.. again

This commit is contained in:
AndzejsP 2023-06-13 13:27:26 +03:00
parent 56051816d9
commit 642d76c8bc

View File

@ -517,7 +517,7 @@ export default {
}
},
scrollToElementInContainer(el, containerId) {
const topPos = el.offsetTop + el.clientHeight;
const topPos = el.offsetTop ; //+ el.clientHeight
const container = document.getElementById(containerId)
// console.log(el.offsetTop , el.clientHeight, container.clientHeight)