@lion/button
Advanced tools
Comparing version 0.7.5 to 0.7.6
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.7.6](https://github.com/ing-bank/lion/compare/@lion/button@0.7.5...@lion/button@0.7.6) (2020-06-24) | ||
### Bug Fixes | ||
* **button:** prevent scrolling when repeating space key ([7eec6f3](https://github.com/ing-bank/lion/commit/7eec6f37651d16cc94f77d86f891d19137cfd427)) | ||
## [0.7.5](https://github.com/ing-bank/lion/compare/@lion/button@0.7.4...@lion/button@0.7.5) (2020-06-18) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@lion/button", | ||
"version": "0.7.5", | ||
"version": "0.7.6", | ||
"description": "A button that is easily styleable and accessible in all contexts", | ||
@@ -45,3 +45,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "8958b2fa02d3b0c39120d405c5284aa01990a524" | ||
"gitHead": "92df108799b1abd8a11b3b16886a50a5cd1ce249" | ||
} |
@@ -238,2 +238,5 @@ import { | ||
if (this.active || !isKeyboardClickEvent(e)) { | ||
if (isSpaceKeyboardClickEvent(e)) { | ||
e.preventDefault(); | ||
} | ||
return; | ||
@@ -240,0 +243,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59731
622