Closed Bug 1061660 Opened 10 years ago Closed 10 years ago

The transition for the overflow menu is skipped the first time it's pressed

Categories

(Firefox OS Graveyard :: Gaia::System::Browser Chrome, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 fixed, b2g-v2.2 fixed)

RESOLVED FIXED
2.1 S6 (10oct)
Tracking Status
b2g-v2.1 --- fixed
b2g-v2.2 --- fixed

People

(Reporter: cwiiis, Assigned: cwiiis)

References

Details

(Whiteboard: [systemsfe])

Attachments

(1 file)

The first time you press the overflow menu, the transition that should happen for the menu appearing is skipped. This is a regression vs. the prettier menu and probably easily fixed, so let's get at least that amount of polish in :)
Transitions on the first show of BaseUI elements is often missing because they end up getting created and setting the 'visible' style class doesn't count separately from the creation of the element.

This fixes the issue by forcing a style flush after creation.

This unfortunately doesn't fix all the missing transitions in the SMS app because there aren't any in that case - the element just gets created and added/removed from the DOM with no transitions.
Assignee: nobody → chrislord.net
Status: NEW → ASSIGNED
Attachment #8500442 - Flags: review?(alive)
See Also: → 1078295
Comment on attachment 8500442 [details] [review]
Fix missing BaseUI transitions after creation

Interesting, wonder if this is a styling issue or platform issue though.
Attachment #8500442 - Flags: review?(alive) → review+
Comment on attachment 8500442 [details] [review]
Fix missing BaseUI transitions after creation

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Missing transition the first time you open the browser menu
[User impact] if declined: Menu feels slightly broken/janky
[Testing completed]: Tested locally
[Risk to taking this patch] (and alternatives if risky): Pretty much no risk at all
[String changes made]: None
Attachment #8500442 - Flags: approval-gaia-v2.1?
Adding checkin-needed attachment #8500442 [details] [review] - don't know when the tree is reopening and would like to get this landed asap.
Keywords: checkin-needed
Master: https://github.com/mozilla-b2g/gaia/commit/7a5de82d16215f5d49954f97e0061b6d90a9f853
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S6 (10oct)
Whiteboard: [systemsfe]
Attachment #8500442 - Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: