gabrielecirulli / 2048

The source code for 2048
https://play2048.co
MIT License
12.28k stars 17.02k forks source link

It's easy to trigger pull-to-refresh in Chrome #478

Open RByers opened 6 years ago

RByers commented 6 years ago

I just had an experience in Chrome Android where I accidentally slight swiped outside the game area and it triggered Chrome's pull-to-refresh and lost my game state - very frustrating!

I'll submit a PR to add "overscroll-behavior: contain" to address this.

RByers commented 6 years ago

Weird, now I see reload preserve game state. I definitely lost my game state on a reload earlier.