diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionStackedTimeline.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionStackedTimeline.tsx b/src/client/views/collections/CollectionStackedTimeline.tsx index f5c3676e8..d689d7970 100644 --- a/src/client/views/collections/CollectionStackedTimeline.tsx +++ b/src/client/views/collections/CollectionStackedTimeline.tsx @@ -604,8 +604,9 @@ export class CollectionStackedTimeline extends CollectionSubView< return (<div ref={this.createDashEventsTarget} style={{ pointerEvents: SnappingManager.GetIsDragging() ? "all" : undefined }}> <div className="timeline-container" style={{ width: this.props.PanelWidth() }} + onWheel={e => e.stopPropagation()} onScroll={this.setScroll} - ref={(wrapper: HTMLDivElement | null) => (this._timelineWrapper = wrapper)}> + ref={wrapper => this._timelineWrapper = wrapper}> <div className="collectionStackedTimeline" ref={(timeline: HTMLDivElement | null) => (this._timeline = timeline)} |