getify/cloud-sweeper

fix: orientation/dimensions sometimes borked on launch

Aperta

#30 aperta il 23 feb 2016

 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (17 fork)github user discovery
help wanted

Metriche repository

Star
 (96 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

noticed that when app is pinned to home screen (tested with android 5), upon launching sometimes the orientation lock seems to mess up the detected dimensions, so the welcome screen draws wrongly.

could be that orientation change doesn't fire resize? is there an orientation change event to also listen to perhaps?

Guida contributor