Strange, Ive found a similar thread. Maybe this example here could work out.
let elements = document.querySelectorAll(".tabbar");
if (elements != null) {
Object.keys(elements).map((key) => {
elements[key].style.display = 'flex';
});
}
Else check this link. Instead of using ‘none’ use ‘flex’ to display the tabbar.