We're running into an issue with the tab bar where it keeps changing it's visibility when attempting to scroll. I attempt to set overflow: hidden and capture the touchstart event, however, I am still seeing the same behavior. Didn't have this issue in iOS14 - any way to prevent this in 15?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Test</title>
<style>
html, body {
margin: 0;
height: 100%;
overflow: hidden;
background: green;
}
#noscroll {
background-color: blue;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
</style>
</head>
<body>
<div id="noscroll"></div>
<script type="text/javascript">
document.getElementById('noscroll').addEventListener("touchstart", (e) => {
e.preventDefault();
});
</script>
</body>
</html>
Screen Capture: