Skip to content

Folders auto-expand on save #2530

Closed
@StevenSchifter

Description

@StevenSchifter

p5.js version

p5.js v1.7.0 July 10, 2023

What is your operating system?

Windows

Web browser and version

1.59.120 Chromium: 118.0.5993.88 (Official Build) (64-bit)

Actual Behavior

When I save my work in the the p5.js Web editor (or an auto-save occurs), all the folders expand to reveal their contents, even after I contract them.

Expected Behavior

Folders should retain their collapsed or expanded state when a save or auto-save occurs.

Steps to reproduce

Steps:

  1. Collapse a folder. (You may need to create one and upload files into it first.)
  2. Save your work (or wait for an auto-save to occur).
  3. Observe that the folder you just collapsed has expanded again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugError or unexpected behaviorsGood Medium IssueA moderately complex issue for contributors with some experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions