Skip to content

Commit

Permalink
Removed scrolling to top on update (#5605)
Browse files Browse the repository at this point in the history
  • Loading branch information
christof-wittreich authored Dec 16, 2024
1 parent 12f4440 commit fd7c60c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions web/js/components/tour/modal-tour-in-progress.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ import { Close } from '@edsc/earthdata-react-icons/horizon-design-system/hds/ui'
import Steps from './widget-steps';

class ModalInProgress extends React.Component {
componentDidUpdate() {
// eslint-disable-next-line react/no-string-refs
if (this.refs.stepContent) this.refs.stepContent.parentNode.scrollTop = 0;
}

render() {
const {
className,
Expand Down

0 comments on commit fd7c60c

Please sign in to comment.