Skip to content

Hitting enter on create folder in media gallery refreshes the page #26847

Closed
@Zyles

Description

@Zyles

When creating a new folder in the media gallery, if you hit enter after naming instead of using mouse to click on "Ok", the page will refresh, all changes during the editing process will be lost because it was not saved.

Bad UX and bad intent.

Preconditions (*)

  1. Magento 2.3.3

Steps to reproduce (*)

  1. Open the media gallery by inserting an image
  2. Click on a directory and click "Create Folder"
  3. Type in directory name and hit Enter

Expected result (*)

Enter should do the same action as clicking OK with the mouse.

Actual result (*)

Page is refreshed, potential changes made in the editor is lost.

Metadata

Metadata

Assignees

Labels

Component: BackendComponent: MediaGalleryFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReported on 2.3.3Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions