while working on a phaser3 project I seem to have 2 scroll bars on Desktop (inner and outer) but none on mobile. Can someone help?
This is my phaser config:
const config = {
type: Phaser.AUTO,
scale: {
mode: Phaser.AUTO,
parent: 'game-container',
width: '100%',
height: 2500,
disableContextMenu: true
},
scene: [game]
};
`
and this is the html:
<html>
<head>
<title>game.fun</title>
</head>
<style>
.Content {
height: 100vh;
overflow-y: scroll;
overflow-x: hidden;
background: #fff;
-webkit-overflow-scrolling: touch;
overflow-scrolling: touch;
}
</style>
<body>
<div id="game-container" class="Content">
<script src='static/socket.io.js'></script>
<script src="static/game.js"></script>
</div>
</body>
</html>
Kind of tried anything on the web
Tried removing the html scrollbars and playing with the height.