diff --git a/CHANGELOG.md b/CHANGELOG.md index f21045b..38f7c56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## 3.0.3 + +### Bug Fixes + +- Fix an edge case where the animated highlight had the wrong vertical position (#133) + +### Thanks! + +- @HexM7 + ## 3.0.2 ### Bug Fixes diff --git a/package.json b/package.json index 1611a5f..9cf95a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-loading-skeleton", - "version": "3.0.2", + "version": "3.0.3", "description": "Make beautiful, animated loading skeletons that automatically adapt to your app.", "keywords": [ "react", diff --git a/src/__stories__/Skeleton.stories.tsx b/src/__stories__/Skeleton.stories.tsx index 1f09176..5ba3200 100644 --- a/src/__stories__/Skeleton.stories.tsx +++ b/src/__stories__/Skeleton.stories.tsx @@ -367,3 +367,20 @@ export const ShadowDOM: React.VFC = () => { ) } + +export const RegressionTest133 = () => ( +
+ Regression test for{' '} + #133, + in which the pseudoelement had the wrong vertical position. The animated + highlight should cover the entire square. +
+