зеркало из https://github.com/mozilla/gecko-dev.git
Bumping gaia.json for 1 gaia-central revision(s)
======== https://hg.mozilla.org/integration/gaia-central/rev/775b20c42b52 Author: Julien Wajsberg <felash@gmail.com> Desc: Bug 890443 - [SMS] the "fixed header" style and transitions should be adjusted so that it's not jumping when changing header r=schung Important changes * changes how the fixed header is found. Now we're iterating starting with the top instead of the bottom. In the SMS app, the most common cases is when the list is not scrolled so much, and therefore starting at the top will likely be way faster once the list is long. * we don't position the header in the same loop, now we position the header depending on the next header, if it exists. * we use a specific hiding class instead of specifying the 100% transform translation in the js code. Also, using a 100% transform translation is used instead of display none, so that we can get some necessary measurements in the init method. Most notably, we need to take into account the view's padding top. Less important changes: * changed the desktop mock so that we have more headers when loading in Firefox * check that we have mozSetMessageHandler before using it so that we can launch the app in main Firefox * moved the first header's margin top to the view's padding top. This makes it easier to calculate the exact location to trigger the fixed header switch effect.
This commit is contained in:
Родитель
d026dad2d8
Коммит
2039a86d96
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"revision": "1e3fa6fe4ab933fd3ebea869679bbba7a11fa71f",
|
"revision": "775b20c42b5220f79af35fb94ad53925eb6b7aea",
|
||||||
"repo_path": "/integration/gaia-central"
|
"repo_path": "/integration/gaia-central"
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче