Skip to content

Commit

Permalink
Merge branch 'dev' into jupyter
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Jun 21, 2023
2 parents 07721d2 + 8894c45 commit 5443d0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).

## Fixed

- [#2555](https://github.com/plotly/dash/pull/2555) Fix browser back button when removing one of multiple location components from layout, fix [#1312](https://github.com/plotly/dash/issues/1312)
- [#2565](https://github.com/plotly/dash/pull/2565) Fix sorting for > 10 pages, fix [#2564](https://github.com/plotly/dash/issues/2564)

## [2.10.2] - 2023-05-31
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default class Location extends Component {
}

componentDidMount() {
window.onpopstate = this.onLocationChange;
window.addEventListener('popstate', this.onLocationChange);

window.addEventListener(
'_dashprivate_pushstate',
Expand All @@ -122,7 +122,7 @@ export default class Location extends Component {
}

componentWillUnmount() {
window.onpopstate = () => {};
window.removeEventListener('popstate', this.onLocationChange);
window.removeEventListener(
'_dashprivate_pushstate',
this.onLocationChange
Expand Down

0 comments on commit 5443d0c

Please sign in to comment.