mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Merge pull request #14403 from atom/fb-mdt-pane-steals-focus
Pane shouldn't steal focus from its children
This commit is contained in:
@@ -67,7 +67,7 @@ class PaneElement extends HTMLElement
|
||||
|
||||
activated: ->
|
||||
@isActivating = true
|
||||
@focus()
|
||||
@focus() unless @hasFocus() # Don't steal focus from children.
|
||||
@isActivating = false
|
||||
|
||||
activeStatusChanged: (active) ->
|
||||
|
||||
Reference in New Issue
Block a user