Coder Social home page Coder Social logo

Comments (4)

Cogito avatar Cogito commented on May 3, 2024

discussed this issue on IRC in #jQuery

Essentially, meteor shouldn't be using $.event.add. It should probably use something like $(elt).on("event", function(evt) { }). The reason why this might be failing is that the 'bind' event doesn't bubble. It so happens that the 'focus' event doesn't bubble, and it is also not working.

I will try rewriting this code using .on() and if it works will submit a patch.

from meteor.

Cogito avatar Cogito commented on May 3, 2024

After some more searching, I found this from the jQuery documentation (http://api.jquery.com/on/)

The focus and blur events are specified by the W3C to not bubble, but jQuery defines cross-browser focusin and focusout events that do bubble. When focus and blur are used to attach delegated event handlers, jQuery maps the names and delivers them as focusin and focusout respectively. For consistency and clarity, use the bubbling event type names.

So it just needs to be clear that because of this jQuery dependency we can't use the blur or focus events.

from meteor.

Cogito avatar Cogito commented on May 3, 2024

It appears that this issue is related to #108 and is probably resolved by the fixes for it as well. Under initial testing this seems to be correct. I look forward to seeing it in master :)

from meteor.

dgreensp avatar dgreensp commented on May 3, 2024

Fixed on devel branch; will go in next release.

from meteor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.