Why are there scroll bars despite fitting a canvas exactly to the screen
I have a page with exactly one visible element: a canvas. I am setting the canvas’ width & height to be exactly the width and height of the window (window.innerWidth and window.innerHeight), however horizontal and vertical scroll bars still appear and allow me to scroll around a very small amount. None of my elements have … Read more