Stryzhevskyi / rangeSlider

Simple, small and fast vanilla JavaScript polyfill for the HTML5 `<input type="range">` slider element.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating a rangeSlider should not trigger a native "change" event

kontur opened this issue · comments

Example
example

Describe the bug
Creating a rangeSlider triggers a "change" event on the input. Simply creating the UI should not trigger an event.

To Reproduce
Steps to reproduce the behavior:

  1. Load the example.

Expected behavior
The event listener triggers when I'd expect it to not trigger.

Desktop (please complete the following information):

  • OS: Mac OS 10.14.3
  • Browser All major vendors
  • Version Current versions

Smartphone (please complete the following information):

  • Not tested

Thank you for contribution!
I've published version 0.4.9 with your fix.

should this issue be closed now?

@jesseko, it should, I guess.