Closed shaunol closed 10 years ago
Referencing this issue on the knockout tracker https://github.com/knockout/knockout/issues/1118 I believe it may be related
Can you try using input
instead of afterkeydown
?
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.
The input
event is supported in all modern browsers, specifically Internet Explorer since version 9 and Firefox since version 4.
@mbest Any tips on how to handle this if you must support IE8 as well?
Would this work?
valueUpdate: ['input', 'afterkeydown']
Cheers!
@Bearcosta, that seems fine.
@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
Hello, just ran into a weird issue, I'm using knockout-3.0.0 with knockout-deferred-updates included, I have the following example page:
I am using throttle to ensure the computed observable that is dependent on the bound textbox only recomputes after 500ms, however, on Safari IOS 7, this causes the textbox to enter a bugged state where characters are glitching/being removed as you type.
This only occurs when I include throttle and deferred in the same project.
As per my code snippet, even if include deferred: false on the computed observable, the bug still occurs.
Cheers