yairEO / fancyInput

Makes typing in input fields fun with CSS3 effects
1.93k stars 283 forks source link

Uncaught TypeError: Cannot read property 'offsetLeft' of undefined #36

Closed AlexCppns closed 10 years ago

AlexCppns commented 10 years ago

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

AlexCppns commented 10 years ago

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

yairEO commented 10 years ago

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 10 years ago

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 7 years ago

me too facing the same bug