Created
June 9, 2017 20:51
-
-
Save mergeweb/ac4862163a1742ac27779e1ba06c65b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
handleNumberInputFocus: function (e){ | |
e.target.addEventListener('wheel', this.handlePreventScrollNumberInput) | |
}, | |
handleNumberInputBlur: function (e) { | |
e.target.removeEventListener('wheel', this.handlePreventScrollNumberInput); | |
}, | |
handlePreventScrollNumberInput: function (e) { | |
e.preventDefault(); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment