This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25452 - forms: new events dispatched when opening or closing <input> and <select> popups
Summary: forms: new events dispatched when opening or closing <input> and <select> popups
Status: RESOLVED WONTFIX
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: All All
: P3 enhancement
Target Milestone: Needs Impl Interest
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-24 23:12 UTC by Kent Tamura
Modified: 2019-04-01 01:02 UTC (History)
13 users (show)

See Also:


Attachments

Description Kent Tamura 2014-04-24 23:12:04 UTC
This is a feature request.

Feature: New simple events which are dispatched on opening/closing any native popup-like UI such as <select> menu popups, <input list> popups, and <input type=date> calendar picker.  The event names would be 'open' and 'close'.


Usecase:
A web application has a menu-like UI built from scratch.
 - We want to close the opening menu when any native popups are opened.  We have no generic way to detect it.
 - If a native popup was opened in an element inside the menu, we want to close the menu when the native popup is closed.
  See https://code.google.com/p/chromium/issues/detail?id=303971#c2
Comment 1 Ian 'Hixie' Hickson 2014-04-28 23:26:28 UTC
Interesting idea.

Any other vendors interested in this?
Comment 2 Ian 'Hixie' Hickson 2014-09-30 17:20:49 UTC
cc'ing some more people. This seems like a reasonable important feature for a platform with native widgets to have, if we expect people to also develop their own widgets. Is this something anyone would be willing to implement? Firefox? IE? Safari?
Comment 3 Domenic Denicola 2019-03-29 21:18:45 UTC
With W3C Bugzilla closing, we're marking all feature requests as WONTFIX, or at least wontfix-in-this-bugtracker.

Please feel free to reopen on https://github.com/whatwg/html/issues if you still believe in the feature and want to discuss it further.
Comment 4 Kent Tamura 2019-04-01 01:02:54 UTC
I think https://github.com/whatwg/html/issues/3976 is almost equivalent to this.