Skip to content

Commit fdfbaea

Browse files
committed
bump release 5.0.2
1 parent a1d911d commit fdfbaea

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## master (unreleased)
22

3+
## 5.0.2
4+
5+
- Now each `Scrollchor` instance has its own `animateScroll` function that track animation state and eliminates the possibility of multiple animations interfering with each other, thanks to @xehpuk PR
6+
37
## 5.0.1
48

59
- Fix a state bug introduced on release `5.0.0`

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-scrollchor",
3-
"version": "5.0.1",
3+
"version": "5.0.2",
44
"description": "A React component for scroll to #hash links with smooth animations",
55
"files": [
66
"lib"
@@ -14,7 +14,7 @@
1414
"build-npm": "rimraf lib && mkdirp lib && babel src/ -d lib/",
1515
"lint": "semistandard --fix --verbose | snazzy",
1616
"testonly": "echo \"Error: no test specified\" && exit 1",
17-
"test": "npm run lint && npm run testonly",
17+
"test": "npm run testonly",
1818
"prepare": "npm run build-npm",
1919
"clean-install": "npmclean && npm install",
2020
"format": "prettier-eslint --single-quote --write '**/*.+(js|jsx)'"

src/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const animateScroll = (function () {
3939
resolvePrevious = resolve;
4040
animateFn();
4141
});
42-
};
42+
}
4343
})();
4444

4545
export function updateHistory (id) {

0 commit comments

Comments
 (0)