Closed
Bug 1099488
Opened 10 years ago
Closed 10 years ago
Use CSS Flexbox to layout keyboard
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Firefox OS Graveyard
Gaia::Keyboard
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1105178
People
(Reporter: timdream, Unassigned)
References
Details
Keyboard app renderer was developed *before* CSS Flexbox. It currently rely on JavaScript trigger by the resize event to relayout when the the orientation changes. This is very expensive on it's own.
Preferably, if flexbox does not trigger unnecessary repaint, we should switch to flexbox and remove all resize listeners.
Reporter | ||
Comment 1•10 years ago
|
||
I can confirm that Flexbox does cause extra repaint when the when the highlight shows.
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #1)
> I can confirm that Flexbox does cause extra repaint when the when the
> highlight shows.
Ouch, I was meant to say *does not* cause extra re-layout, since we have already use transform to position the highlight of each of the keys.
Comment 4•10 years ago
|
||
Yes, let's dupe this one to Bug 1105178.
Thanks for reminding.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(rlu)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•