Skip to content

filepicker: When you have a big folder structure and you select a folder, the screen is jumping on the top #2388

Description

@jahia-ci

Imported from Jira, on Thu Jan 30, 2025
Issue: QA-15371 in project: QA DX
Priority: Major Type: Bug
Reporter: @wassek (Werner Assek)
Assignee: None found in Jira, making reporter the assignee in GitHub
Created: Wed Nov 13, 2024, last updated: Tue Jan 28, 2025
Status: Open
Sprint: Customer Backlog started on Thu Jan 1, 1970

Remote Links:

Attachments:

Environment and versions used

8.1.8.1 (jContent 2.17, Content-Editor 4.11)

 

Works well in Jahia 8.2.0.5

Steps to reproduce

Create filefolders that you have to scroll in the picker, you can use a simple script to do it:

JCRNodeWrapper startNode = session.getNode("/sites/digitall/files");
for (int i = 0; i< 40; i<ins></ins>) {

   JCRNodeWrapper newfolder = startNode.addNode("test_" + i, "jnt:folder");
   newfolder.saveSession();

}
 

Current Behavior

When you add content with an image picker (like default image type (with image from document manager), and you open the picker, and scroll down on the left tree. And select a folder, it is jumping back to the top of the tree

Desired Behavior

The tree shouldn't jump back. It should stay on the position you scrolled.

Metadata

Metadata

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions