We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33bc92a commit b85b1ffCopy full SHA for b85b1ff
src/TimeGrid.js
@@ -277,7 +277,11 @@ export default class TimeGrid extends Component {
277
278
applyScroll() {
279
// If auto-scroll is disabled, we don't actually apply the scroll
280
- if (this._scrollRatio != null && this.props.enableAutoScroll === true) {
+ if (
281
+ !this.props.selected &&
282
+ this._scrollRatio != null &&
283
+ this.props.enableAutoScroll === true
284
+ ) {
285
const content = this.contentRef.current
286
content.scrollTop = content.scrollHeight * this._scrollRatio
287
// Only do this once
0 commit comments