mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Only requestUpdate when scrolling stops if component is still mounted
Fixes #2566
This commit is contained in:
@@ -518,6 +518,8 @@ EditorComponent = React.createClass
|
||||
@onStoppedScrollingAfterDelay()
|
||||
|
||||
onStoppedScrolling: ->
|
||||
return unless @isMounted()
|
||||
|
||||
@scrollingVertically = false
|
||||
@mouseWheelScreenRow = null
|
||||
@requestUpdate()
|
||||
|
||||
Reference in New Issue
Block a user