Skip to content

Commit

Permalink
applying focus in body after page change (#748)
Browse files Browse the repository at this point in the history
* 👾 exhibit page scroll top / fixes #691

* 👾 applying focus in body after page change
  • Loading branch information
mgiraldo authored Mar 14, 2018
1 parent c9f1b60 commit 4004cf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/exhibitions/exhibition/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import { getDplaItemIdFromExhibit } from "utilFunctions";
class Exhibition extends React.Component {
componentDidMount() {
window.scrollTo(0, 0);
document.body.focus();
}

render() {
Expand Down

0 comments on commit 4004cf0

Please sign in to comment.