Skip to content

"Find next" and "Find previous" popups glitches to close #1774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
satyasaibhushan opened this issue Feb 22, 2021 · 8 comments · Fixed by #1801
Closed

"Find next" and "Find previous" popups glitches to close #1774

satyasaibhushan opened this issue Feb 22, 2021 · 8 comments · Fixed by #1801

Comments

@satyasaibhushan
Copy link
Contributor

Coming here from #1243

Nature of issue?

  • Found a bug

Details about the bug:

  • Web browser and version: Chrome 88.0.4324.150 (Official Build) (x86_64) (also tried on Safari, the issue remains the same)
  • Operating System:macOS Version 11.2.1
  • Steps to reproduce this bug:
    1. While editing a file, click on find next( /prev ) on edit dropdown in the Navigation bar or use keyboard shortcuts
    2. If you click on the left side of the screen (on the play button or the editor) the popup just disappear which is not the desired behaviour
    3. If you click on the right side of the screen (on the preview section) the popup just freezes and don't close which is a major bug
attaching a video for reference
Screen.Recording.2021-02-22.at.11.23.54.PM.mov
@welcome
Copy link

welcome bot commented Feb 22, 2021

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

@satyasaibhushan
Copy link
Contributor Author

satyasaibhushan commented Feb 22, 2021

Hey @catarak or Anyone ,
I think the ideal functionality will be mimicking the "find" popup functionality.
Presently, the "find next" or "find previous" is working by creating a new popup that's not "find" popup i.e, all three finds have their different popups
I think the issue will be solved if we somehow managed to use only one popup for all 3 functionalities
Please share your thoughts!!

@satyasaibhushan satyasaibhushan changed the title The closing glitches of "Find next" and "Find previous" popups "Find next" and "Find previous" popups glitches to close Feb 22, 2021
@catarak
Copy link
Member

catarak commented Mar 10, 2021

Hi @satyasaibhushan! In #1243, "Find Next" and "Find Previous" were removed from the dropdown because they don't make sense on their own, they are only used in the context of the "Find" popup. The "Find Next" and "Find Previous" buttons do work on the popup, as to their keyboard shortcuts, so I will be closing this issue.

@catarak catarak closed this as completed Mar 10, 2021
@satyasaibhushan
Copy link
Contributor Author

Oh no @catarak ,
I was just using the menu to explain the nature of the issue( to show that I was using find next),
The bug still exists even if we use the shortcuts.

@catarak
Copy link
Member

catarak commented Mar 10, 2021

got it! i'll reopen.

@catarak catarak reopened this Mar 10, 2021
@satyasaibhushan
Copy link
Contributor Author

Hey @catarak, Do you have any ideas to tackle this ?

@catarak
Copy link
Member

catarak commented Mar 12, 2021

It will definitely involve changing the codemirror-search.js file, though I'm really not sure what the culprit is...

@satyasaibhushan
Copy link
Contributor Author

satyasaibhushan commented Mar 12, 2021

Hey @catarak,
never thought the solution would be this simple,
I just changed the shortcuts calling from findNext to findPersistantNext and every thing is working as imagined.

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

Successfully merging a pull request may close this issue.

2 participants