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)

x86_64
Linux
defect
Not set
normal

Tracking

(blocking-b2g:leo+, b2g18 verified)

VERIFIED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- verified

People

(Reporter: jugglinmike, Assigned: jugglinmike)

References

Details

(Keywords: regression)

Attachments

(1 file)

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.
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)
blocking-b2g: leo? → leo+
Whiteboard: [NO_UPLIFT]
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 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+
Flags: needinfo?(dietrich)
Landed at commit d0488a867fdc4e34f15c8ebbfcd0d424b3494a99 Thanks for reviewing, Julien
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [NO_UPLIFT]
v1-train: fe6c5ad
Flags: in-moztrap?
Flags: in-moztrap? → in-moztrap-
QA Contact: croesch
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
Status: RESOLVED → VERIFIED
QA Contact: croesch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: