p5.js-web-editor icon indicating copy to clipboard operation
p5.js-web-editor copied to clipboard

Replace Popup Doesn’t Open When Find Popup is Active (via UI or Shortcut)

Open Jatin24062005 opened this issue 8 months ago • 1 comments

p5.js version

No response

What is your operating system?

None

Web browser and version

No response

Actual Behavior

When the Find popup is open (triggered via UI or the Ctrl + F shortcut), attempting to open the Replace popup (via UI or Ctrl + H shortcut) fails. The Find popup remains active, and the Replace popup does not appear until the user manually closes the Find popup.

This affects the user experience, as expected behavior would be to automatically switch between Find and Replace popups seamlessly.

https://github.com/user-attachments/assets/917261af-b21e-4cdc-9ab4-b33cb9b5f7b9

Expected Behavior

When the Replace popup is triggered, the Find popup should automatically close, and the Replace popup should be immediately visible.

Steps to reproduce

  1. Open the p5.js Web Editor.
  2. Press Ctrl + F or click the Find option → the Find popup appears.
  3. Now press Ctrl + H or click the Replace Text option.

Jatin24062005 avatar Apr 04 '25 12:04 Jatin24062005