Skip to content

Focus event for input element not triggered if wrapped in a span #108

Closed
mpj opened this Issue Apr 29, 2012 · 3 comments

3 participants

@mpj
mpj commented Apr 29, 2012

Code reproducing problem on 0.3.5 here: https://gist.github.com/2545439

If I wrap an input element in a span, the focus event of the input WILL NOT be triggered.
If I remove the span, it the focus event WILL be triggered.
The click event of the same element KEEPS WORKING.

@dgreensp

We're on it. For now, use focusin instead of focus and focusout instead of blur.

@mpj
mpj commented Apr 29, 2012

Ah, epic! Keep up the good work, I love you guys. ♥

@dgreensp dgreensp closed this in bbd1e37 Apr 29, 2012
@n1mmy
Meteor Development Group member
n1mmy commented Apr 29, 2012

This will be in the next release. Thanks for the great bug report. Clear and w/ reproducible test case =)

@tetuyoko tetuyoko added a commit to tetuyoko/meteor that referenced this issue May 14, 2012
@dgreensp dgreensp correctly support delegated focus/blur; fixes #108 9990277
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.