Giter Site home page Giter Site logo

Comments (7)

shaunol avatar shaunol commented on September 22, 2024

Referencing this issue on the knockout tracker knockout/knockout#1118
I believe it may be related

from knockout-deferred-updates.

mbest avatar mbest commented on September 22, 2024

Can you try using input instead of afterkeydown?

from knockout-deferred-updates.

shaunol avatar shaunol commented on September 22, 2024

Interesting, this has solved the issue across all my browsers.

Is this event recommended to use full time for any input fields? In place of afterkeydown that is.

from knockout-deferred-updates.

mbest avatar mbest commented on September 22, 2024

The input event is supported in all modern browsers, specifically Internet Explorer since version 9 and Firefox since version 4.

from knockout-deferred-updates.

Bearcosta avatar Bearcosta commented on September 22, 2024

@mbest Any tips on how to handle this if you must support IE8 as well?

Would this work?

valueUpdate: ['input', 'afterkeydown']

Cheers!

from knockout-deferred-updates.

mbest avatar mbest commented on September 22, 2024

@Bearcosta, that seems fine.

from knockout-deferred-updates.

Bearcosta avatar Bearcosta commented on September 22, 2024

@mbest Thanks! Tested it now and it seems to be working. Haven't tested it in IE8 yet though. I think I recall another issue that setting compatibility mode in IE11 won't work fully since knockout still detects it as IE11 anyways? hmm but come to think about it, that shouldn't matter for testing this particular issue with IE11 as IE8 in compatibility mode...

Cheers

from knockout-deferred-updates.

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.