Action bar with 'landscape' class while in 'portrait' mode #666

Closed
ezanella opened this Issue Feb 6, 2013 · 2 comments

Projects

None yet

2 participants

ezanella commented Feb 6, 2013

Application is locked in portrait mode.
If I push a screen when keyboard is still visible, the keyboard will disappear but the new screen will have the action bar (as you can see in below image) "stretched" (and same for the title bar).
I inspected the dom and I saw that action bar and buttons&c inside have css landscape classes: for example action bar has class 'bb-bb10-action-bar-1280x768-1280x720 bb-bb10-action-bar-landscape-1280x768-1280x720 bb-bb10-action-bar-dark'.
This is due to the function getOrientation() that returns 'landscape' (instead of 'portrait') due to the space occupied by the keyboard.

Wrong actionBar:
actionbar

instead of
actionbar_ok

Member
tneil commented Feb 7, 2013

Ah yes, I can picture the code in my head where this is going wrong

@tneil tneil pushed a commit that referenced this issue Feb 8, 2013
Tim Neil Fix for issue #666 0f4e249
Member
tneil commented Feb 8, 2013

Should now be fixed

@tneil tneil closed this Feb 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment