andreasbm / weightless

High-quality web components with a small footprint
MIT License
377 stars 31 forks source link

Resolve #78: Workaround for Firefox not setting composed on inputs with the range role. #91

Closed Lattyware closed 2 years ago

Lattyware commented 4 years ago

This is a pretty simple fix—we check for the event not being composed and dispatch the event for upstream manually in that case.

There may be a more elegant fix, but this seems to work.