mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-16 21:20:23 +08:00
fix(msg-list): Stop computing timestamps inside invisible tooltip
This commit is contained in:
parent
d8cc0d52d5
commit
9f97cf2fd5
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class Scrollbar extends React.Component
|
||||||
'scrolling': @state.scrolling
|
'scrolling': @state.scrolling
|
||||||
|
|
||||||
tooltip = []
|
tooltip = []
|
||||||
if @props.scrollTooltipComponent
|
if @props.scrollTooltipComponent and @state.dragging
|
||||||
tooltip = <@props.scrollTooltipComponent viewportCenter={@state.viewportScrollTop + @state.viewportHeight / 2} totalHeight={@state.totalHeight} />
|
tooltip = <@props.scrollTooltipComponent viewportCenter={@state.viewportScrollTop + @state.viewportHeight / 2} totalHeight={@state.totalHeight} />
|
||||||
|
|
||||||
<div className={containerClasses} style={@_scrollbarWrapStyles()} onMouseEnter={@recomputeDimensions}>
|
<div className={containerClasses} style={@_scrollbarWrapStyles()} onMouseEnter={@recomputeDimensions}>
|
||||||
|
|
Loading…
Reference in a new issue