yelouafi / petit-dom

minimalist virtual dom library
MIT License
501 stars 36 forks source link

Handle input type="range" #9

Closed cjh9 closed 6 years ago

cjh9 commented 6 years ago

Hi again, sorry to spam you :)

I'm trying to get input type="range" to work, but I believe it triggers the updateInput() on line 52 in vdom.js. The setProps() function is called on line 61 with null as oldProps, so all the min, and max attribute will always be updated even if they need not to...

yelouafi commented 6 years ago

Sorry for the delay. I pushed a new release which should fix this.