Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Unable to edit text in search field after toggling search #1067

Closed
1 task done
john-cj opened this issue Jan 25, 2019 · 2 comments · Fixed by #1072
Closed
1 task done

Unable to edit text in search field after toggling search #1067

john-cj opened this issue Jan 25, 2019 · 2 comments · Fixed by #1072

Comments

@john-cj
Copy link

john-cj commented Jan 25, 2019

Prerequisites

Description

Sometimes you will not be able to edit text in search field.

Steps to Reproduce

  1. Create new tab with 2 lines: foo and bar.
  2. Press Ctrl-F. Type "foo" in search field in bottom pane. Then press Escape to close the pane.
  3. Press Ctrl-F again. Press End or Right-Arrow keys on the keyboard - it will not do anything. The cursor will be just blinking in the very start of search field.

Versions

Atom 1.34.0 ia32. Windows 7.

@rsese
Copy link

rsese commented Jan 25, 2019

Thanks for opening the issue in this repository 👍

I'm positive there's an issue very similar to this but was having trouble with search - we'll close if we find it later but confirmed for now with 1.34.0 on macOS 10.12.6.

@rsese rsese added the triaged label Jan 25, 2019
@rsese rsese changed the title Unable to edit text in search field Unable to edit text in search field after toggling search Jan 25, 2019
@daviwil
Copy link
Contributor

daviwil commented Feb 6, 2019

Confirmed on master too. Seems the key here is to not press enter in the search field, causing the first result to be selected in the editor. When text is selected in the editor, the search field is focused and selected correctly. Otherwise, the cursor goes to the front of the search field and seems like it's stuck but it actually moves as expected if you arrow right a couple times and type a letter.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants