CanvasInput icon indicating copy to clipboard operation
CanvasInput copied to clipboard

when listen onkeydown then get input.value input 'hello world' but get 'hello worl'

Open Magic-zhu opened this issue 5 years ago • 0 comments

var input = new CanvasInput({
        canvas: document.getElementById('canvas')
    });
    input.value('xxx')
    input.onkeydown(()=>{
        console.log(input.value())
    })

Magic-zhu avatar Jun 12 '20 05:06 Magic-zhu