Skip to content

Search (CTRL+F) Doesn't Auto-Update After Content Changes #3470

Closed
@Jatin24062005

Description

@Jatin24062005
Contributor

p5.js version

No response

What is your operating system?

None

Web browser and version

No response

Actual Behavior

The search results do not update when new text is added.
The search overlay remains stuck on the initial results, even if content changes.

p5.js.Web.Editor.-.Google.Chrome.2025-03-06.17-17-09.mp4

Expected Behavior

When text matching the search query is added or removed, the search results should automatically update.
The search overlay should refresh dynamically, without requiring the user to manually restart the search.

Steps to reproduce

  1. Open https://editor.p5js.org/ and Add hello (any text ) 4 times
  2. Observe the search results count (0/4 if "hello" appears 4 times).
  3. Add more instances of the searched word (hello) in the editor.
  4. Notice that the search result count and highlighting remain the same, not updating dynamically.

Activity

Jatin24062005

Jatin24062005 commented on May 3, 2025

@Jatin24062005
ContributorAuthor

@raclim as per the new Release page your mentioned Comment Pull Request #3362 now Pushed into the develop but issue is still there.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugError or unexpected behaviors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @Jatin24062005

      Issue actions

        Search (CTRL+F) Doesn't Auto-Update After Content Changes · Issue #3470 · processing/p5.js-web-editor