this.tableHeader is a positioning element of fixed. ScrollLeft makes margins for scrolling. When a horizontal scroll bar appears, the horizontal scrolling lets the positioning box follow the scroll, but when scrolling does not give a value, it will automatically return to the original value of 50. Other browsers have no problem!
let scrollLeft = document.documentElement.scrollLeft || window.pageXOffset || document.body.scrollLeft
this.tableHeader.style.left = 50 - scrollLeft + "px"
console.log(this.tableHeader.style.left)