personium / app-cc-home

Demo page
http://personium.io/demo/home-app/
Apache License 2.0
2 stars 5 forks source link

Adjusting padding is not executed correctly #252

Open yoh1496 opened 5 years ago

yoh1496 commented 5 years ago

Padding of div.app-list in home view is made to be adjusted by triggered resize event in below.

https://github.com/personium/app-cc-home/blob/f19b6d38cd3feed10afba8534453ec1b1512ca20/html/js/main.js#L4

But the resize event is not triggered in first load. So, this function does not called on usual the way to launch.

In android device

On android devices, after logged in from LoginForm, some devices are showing keyboard in home app .

image

When the keyboard disappeared, the resize event is called and the adjusting padding is happened.

image

After adjusting the padding of div.app-list, it seems to be like something wrong. But the calculation of padding is correctly executed.

Which appearance is correct, before adjusting or after one?