Closed Bug 1245426 Opened 9 years ago Closed 9 years ago

gaia-switch, gaia-radio and gaia-checkbox support enter key event

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.6?)

RESOLVED FIXED
blocking-b2g 2.6?

People

(Reporter: selee, Assigned: selee)

References

Details

(Whiteboard: [ft:conndevices])

Attachments

(1 file)

Since TV product (bug 1242314) needs a settings app to configure some settings, e.g. WiFi, BT, the original phone design is a good fundamental app to implement a TV one. gaia-switch, gaia-radio and gaia-checkbox are the components need to support key navigation feature in the porting task, so this issue is to discuss how to support the Enter key for these components.
In attachment 8715220 [details] [review], gaia-switch, gaia-radio and gaia-checkbox support toggling behavior when Enter Key is pressed at the focus components.
Assignee: nobody → selee
Comment on attachment 8715220 [details] [review] [gaia] weilonge:seanlee/GaiaComponents/master/Bug1245426 > mozilla-b2g:master Hey Kevin, Key navigation is an important mechanism for TV product due to lack of pointer devices. When Enter key event is sent to these elements (gaia-switch, gaia-checkbox, gaia-radio), the state of the elements should be changed as well. This patch includes the key handling logic to change the state. Could you help to review my patch? Thank you.
Attachment #8715220 - Flags: review?(kevin+bugzilla)
Comment on attachment 8715220 [details] [review] [gaia] weilonge:seanlee/GaiaComponents/master/Bug1245426 > mozilla-b2g:master This seems fine to me, thanks!
Attachment #8715220 - Flags: review?(kevin+bugzilla) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1254815
Blocks: 1255264
blocking-b2g: --- → 2.6?
Whiteboard: [ft:conndevices]
Blocks: 1257282
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: