Closed Bug 984151 Opened 10 years ago Closed 10 years ago

Make the contacts image pull up effect smoother

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vingtetun, Assigned: vingtetun)

References

Details

Attachments

(1 file)

There is a lot of layers creation / destruction, repaints when showing the contacts photo. It makes it jerky.
Attached patch bug984151.patchSplinter Review
This patch makes the pull up effect smoother by preparing the UI to be transformed with will-change. It also calls event.preventDefault() on touch events in order to make sure the platform is not doing unnecessary work.
Attachment #8391929 - Flags: review?(francisco.jordano)
Comment on attachment 8391929 [details] [diff] [review]
bug984151.patch

Review of attachment 8391929 [details] [diff] [review]:
-----------------------------------------------------------------

Working like a charm!

Thanks Vivien for this patch!
Attachment #8391929 - Flags: review?(francisco.jordano) → review+
https://github.com/mozilla-b2g/gaia/commit/379d54c223873a888dd4d374aadc05b44b63f8f6
Assignee: nobody → 21
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Relanded as this has been backouted for some unknown reasons...
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: