Uncaught TypeError: Cannot read property 'offsetLeft' of undefined
Closed this issue · 4 comments
AlexCppns commented
When I am trying to erase characters after a fillText()
AlexCppns commented
Fixed it by filling the input before calling fillText(), I thought that fillText filled both the spans and the input.
yairEO commented
what do I need to do in order to reproduce this bug?
edit - OK in understand the bug. I will fix it. the end user never should call the fillText()
function, there should be seamless binding between the input field and the div which hosts the fake content
yairEO commented
seems like there is no way to know if the value of an input has changed other than using some sort of interval on it, and I don't want to go that road, for now.
syamdanda commented
me too facing the same bug