Closed Bug 1571533 Opened 6 years ago Closed 1 year ago

datetimebox.js should look more at defaultPrevented

Categories

(Core :: Layout: Form Controls, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1848158

People

(Reporter: emilio, Unassigned, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Right now a lot of the events cannot be prevented, and it's a bug.

Summary: datetimebox.js should look at defaultPrevented → datetimebox.js should look more at defaultPrevented

The priority flag is not set for this bug.
:emilio, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)
Mentor: emilio
Flags: needinfo?(emilio)
Keywords: good-first-bug
Priority: -- → P3
Severity: normal → S3

I spent some time looking at this to see if I could contribute. I believe it can be closed.

It has been possible to prevent the datetime popup for 5+ years, and a separate bug recently made it possible to prevent keyboard input: https://bugzilla.mozilla.org/show_bug.cgi?id=1848158

The only two default events that cannot be prevented are the focus and blur events, which I believe should not be preventable? If you think they should be preventable, I would be happy to contribute a patch for that :)

Flags: needinfo?(emilio)

Yeah I think this was effectively fixed not so long ago in bug 1848158. Thanks for the catch!

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1848158
Flags: needinfo?(emilio)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.