You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You'll still be able to scroll up, but it depends on how far down your game is on the page. I haven't tought about setting the width/height to zero but I will test it to see if it'll still work on all device.
I found it worked more as I expected hiding the input off to the left rather than above the game. Since I use iframes to display the game, the absolute is not relative to the page hosting the game. There is still some scrolling, but at least it scroll to the game rather than above it.
I changed
this.element.style.top = (-100).toString() + 'px';
to
and it seemed to fix them problem of scrolling to the top of a page when an input gains focus.
The text was updated successfully, but these errors were encountered: