Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Fix editor occasionally going blank - #1107

Merged
kevinsawicki merged 1 commit into
masterfrom
ks-editor-scroll
Nov 11, 2013
Merged

kevinsawicki merged 1 commit into
masterfrom
ks-editor-scroll

Conversation

@kevinsawicki

Copy link
Copy Markdown
Contributor

Problem

  1. Open a file that scrolls in the editor
  2. Move the cursor to the bottom
  3. Focus the find and replace view (cmd-f)
  4. Scroll the editor to the top without focusing it (using the scroll wheel)
  5. Hit escape to close the find and replace view
  6. Editor goes blank with only line numbers displaying

Solution

Bring the hidden input into view when the editor gets focus since the scroll position may have changed since the last focusout event.

@mcolyer

mcolyer commented Nov 11, 2013

Copy link
Copy Markdown
Contributor

Solid detective work. Glad to have this one squashed.

kevinsawicki added a commit that referenced this pull request Nov 11, 2013
Fix editor occasionally going blank
@kevinsawicki
kevinsawicki merged commit 1cb1387 into master Nov 11, 2013
@kevinsawicki
kevinsawicki deleted the ks-editor-scroll branch November 11, 2013 20:48
@mtodd

mtodd commented Nov 14, 2013

Copy link
Copy Markdown

🤘

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.

3 participants