Closed
Bug 875282
Opened 12 years ago
Closed 12 years ago
[MMS] The "Add Contact" button triggers the keyboard
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(blocking-b2g:leo+, b2g18 verified)
People
(Reporter: jugglinmike, Assigned: jugglinmike)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
1.43 KB,
patch
|
julienw
:
review+
|
Details | Diff | Splinter Review |
Immediately after the "Add Contact" button is selected, the keyboard is needlessly displayed. Although it is dismissed once the associated "pick" Activity runs, the keyboard should not be displayed at all.
Comment 1•12 years ago
|
||
requesting leo? for this, even if this is polish, this is related to the Sms work, and this should be quite easy to fix (probably one or two lines).
Dietrich ?
blocking-b2g: --- → leo?
Flags: needinfo?(dietrich)
Updated•12 years ago
|
blocking-b2g: leo? → leo+
Whiteboard: [NO_UPLIFT]
Updated•12 years ago
|
Keywords: regression
| Assignee | ||
Comment 2•12 years ago
|
||
Hi Julien,
In Bug 874430, you suggested using `event.stopPropagation` in the handler for the "Add Contact" button. It turns out that we can fix the bug by addressing a more systemic issue:
The handler that gives focus to the recipients list (and subsequently triggers the keyboard) was delegating on an element that was too high in the DOM.
In addition to allowing future handlers to delegate on the click events to the "Add Recipient" button (for whatever reason), this approach addresses a somewhat surprising behavior in "master": clicking on the "max length" notice, the "convert" notice, or the carrier info would also give focus to the recipients list.
Attachment #753380 -
Flags: review?(felash)
Comment 3•12 years ago
|
||
Comment on attachment 753380 [details] [diff] [review]
Do not give recipients focus when adding contacts
Review of attachment 753380 [details] [diff] [review]:
-----------------------------------------------------------------
r=me
seems to works perfect, thanks !
Attachment #753380 -
Flags: review?(felash) → review+
Updated•12 years ago
|
Flags: needinfo?(dietrich)
| Assignee | ||
Comment 4•12 years ago
|
||
Landed at commit d0488a867fdc4e34f15c8ebbfcd0d424b3494a99
Thanks for reviewing, Julien
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Whiteboard: [NO_UPLIFT]
Updated•12 years ago
|
Flags: in-moztrap?
Updated•12 years ago
|
Flags: in-moztrap? → in-moztrap-
QA Contact: croesch
Comment 6•12 years ago
|
||
The user does not see the keyboard when "+" add contact button is tapped. Issue seems to be fixed.
Environmental Variables
Leo Build ID: 20130807071207
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/11bb1b0eefff
Gaia: 60ca81600a080dae33058b0692ecaa213556c926
Platform Version: 18.1
You need to log in
before you can comment on or make changes to this bug.
Description
•