WebIDE: search box captures Enter even when hidden
Summary
WebIDE: search box captures Enter even when hidden
Steps to reproduce
- Open a file
- Search for something in file (Ctrl+F, type text)
- Close the search box with 'x' button
- Press Enter
- Observe: search box reappears, new line not inserted (expected: opposite behaviour)
- Remove all text from search box (all at once), close the search box again with 'x'.
- Press Enter -> Finally it works!
What is the current bug behavior?
Search box reappears, new line not inserted
What is the expected correct behavior?
Search box stays hidden and doesn't interfere.
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)