yairEO/fancyInput

Uncaught TypeError: Cannot read property 'offsetLeft' of undefined

Closed this issue · 4 comments

When I am trying to erase characters after a fillText()

Fixed it by filling the input before calling fillText(), I thought that fillText filled both the spans and the input.

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

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.

me too facing the same bug