[Stingray] Focus should be on edit button after leaving edit mode

RESOLVED FIXED

Status

Firefox OS
Gaia
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: sungchiu, Assigned: sungchiu)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

3 years ago
When we leave edit mode, the focus will switche to a card in scrollable element. However, the correct behavior should be on edit button.
Created attachment 8558986 [details] [review]
[PullReq] sean2449:Bug_1129327 to mozilla-b2g:master
(Assignee)

Comment 2

3 years ago
Created attachment 8558988 [details] [review]
Pull Request

Since writeCardlistInCardStore is an async function, we should trigger focus in resolve function.
Attachment #8558988 - Flags: review?(rexboy)
Comment on attachment 8558988 [details] [review]
Pull Request

Looks ok to me, but please add some comments for it before landing.
See my comments on Github.
Attachment #8558988 - Flags: review?(rexboy) → review+
merged to master:
https://github.com/mozilla-b2g/gaia/commit/3e09cdb2b8768d865023be568c8688cb9a89ae4f

gaia-try is all green:
https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=6de64e22e661
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.