Yeh I want to clarify that I was trying to say I dont think we should have
a keyboard specific event, our media query implementation isnt great but I
think it can be improved without adding a new event, and it seems like a
solution based on the event would be problematic (not all keyboards are
equal and as julien said it may not be the keyboard that is causing a
resize and we will likely want to do the same thing in those cases)


On 12 August 2013 15:29, Julien Wajsberg <[email protected]> wrote:

> Le 12/08/2013 15:16, Shlomi Asaf a écrit :
> > I Agree with Dale.
> > Problem for media queries approach is that we will need to maintain a
> > css selectors list just to manage cases of screen sizes, and sizes we
> > can predict right now are not the ones that will get released in
> > future releases of new devices.
> >
> > Also resize event is problematic as well, since screen can be resized
> > for other reasons, and adding multiple listeners for different actions
> > can make our apps slow on some devices.
> >
> > I vote for the real event, when it will be possible to get
> > implemented.
>
> I bet you'll want to make the app behave the same whether it is shrinked
> because of the keyboard or because of something else.
>
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to