Why is paste event value delayed?

Viewed 366

I have this simple code: http://jsfiddle.net/yLo5hm81/

$('#mytext').on('paste keyup', function(e) {
    console.log('hello', e.type, this.value)
})

When I paste, it's always behind. So pasting a value initially returns empty string. Pasting again returns what I originally pasted.

Any workaround?

Edit You must right click and paste from context menu. Reproduced in Chrome & FF

1 Answers
Related