Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[missing] dart:html : please add onFocusIn and onFocusOut to Element #12564

Open
DartBot opened this issue Aug 20, 2013 · 12 comments
Open

[missing] dart:html : please add onFocusIn and onFocusOut to Element #12564

DartBot opened this issue Aug 20, 2013 · 12 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. library-html P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug web-libraries Issues impacting dart:html, etc., libraries

Comments

@DartBot
Copy link

DartBot commented Aug 20, 2013

This issue was originally filed by ross.dart....@gmail.com


r26297

http://www.w3.org/TR/DOM-Level-2-Events/events.html

DOMFocusIn and DOMFocusOut have pretty good coverage (Opera, Safari, Chrome):

http://help.dottoro.com/ljuoivsj.php

And an equivalent on IE (onfocusin).

These are very useful (in certain situations) due to the fact that they bubble (unlike onFocus).

Side notes

  • I'd also like onActivate for DOMActivate
  • The generic on the current onFocus can be FocusEvent instead of Event can't it?

Workaround : Element.$dom_addEventListener

thanks,

@lrhn
Copy link
Member

lrhn commented Aug 20, 2013

Removed Type-Defect label.
Added Type-Enhancement, Area-HTML, Triaged labels.

@efortuna
Copy link
Contributor

(investigate)


Set owner to @efortuna.

@efortuna
Copy link
Contributor

Added this to the Later milestone.

@DartBot
Copy link
Author

DartBot commented Feb 7, 2014

This comment was originally written by bslesins...@gmail.com


The workaround is now just: Element.addEventListener

@blois
Copy link
Contributor

blois commented Feb 10, 2014

Recommended workaround is Element.on['DOMFocusIn'] rather than addEventListener.

@kevmoo
Copy link
Member

kevmoo commented Apr 7, 2014

Removed Area-HTML label.
Added Area-Library, Library-Html labels.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@efortuna
Copy link
Contributor

efortuna commented Aug 1, 2014

A fix for this is going to be a little bit complex since the DOMFocusIn/Out event doesn't seem to be coming through our IDL. I'm deferring until later since a workaround is available.


Removed the owner.
Removed Oldschool-Milestone-Later label.

@alan-knight
Copy link
Contributor

Removed Priority-Unassigned label.
Added Priority-Medium label.
Changed the title to: "[missing] dart:html : please add onFocusIn and onFocusOut to Element".

@DartBot DartBot added Type-Enhancement area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-html labels Jan 23, 2015
@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed triaged labels Feb 29, 2016
@srawlins
Copy link
Member

srawlins commented Jul 2, 2018

Still missing.

@kevmoo
Copy link
Member

kevmoo commented Jul 2, 2018 via email

@srawlins
Copy link
Member

srawlins commented Dec 7, 2018

@vsmenon vsmenon added the area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. label Jul 20, 2019
@sigmundch sigmundch added the web-libraries Issues impacting dart:html, etc., libraries label Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. library-html P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug web-libraries Issues impacting dart:html, etc., libraries
Projects
None yet
Development

No branches or pull requests

10 participants