Skip to content

Commit

Permalink
Removed scrolling to top on update
Browse files Browse the repository at this point in the history
  • Loading branch information
christof-wittreich committed Dec 11, 2024
1 parent a89eff0 commit 3d46165
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 3d46165

Please sign in to comment.