intel/webapps-todo-list

App window jumps across screen when switching from week to day view (and vice versa)

townxelliot opened this issue · 0 comments

(Tested on Android Crosswalk.)

Tapping the day view button when in week view causes the app window to "jump" across the screen, to the right and down. The same happens when you tap the week view button when in day view.

The same happens whether in portrait or landscape.

It looks as though the app window is positioned using left/top coordinates; but when the content is removed (to replace the week view with the day view, for example), the container changes size, so its position is updated; then once the content is back in the container, it returns to its original size, so the position shifts again.