Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Conversation

@WebsiteDeveloper
Copy link
Contributor

Fixed: Issue #2878 by explicitly calling EditorManager.focusEditor(); when selecting a dir node in the file tree

@ghost ghost assigned redmunds Feb 15, 2013
@peterflynn
Copy link
Member

Question: would a simpler fix be to use the ".no-focus" style? (See mousedown handler in brackets.js)

@WebsiteDeveloper
Copy link
Contributor Author

@peterflynn i didn't know about this class until now, but it also fixes the issue and does not introduce an additional dependency so thanks for the remark

@redmunds
Copy link
Contributor

redmunds commented Mar 6, 2013

Sorry for taking so long to get to this one. Very simple solution. Merging.

redmunds added a commit that referenced this pull request Mar 6, 2013
Fixed: Issue #2878 Expanding/collapsing a folder tree node steals focus from editor
@redmunds redmunds merged commit 799b3ef into adobe:master Mar 6, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants