server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Scroll Bar Jumps After Closing Image Preview in Grid View

Open sword2020 opened this issue 1 year ago • 1 comments

⚠️ This issue respects the following points: ⚠️

Bug description

When querying files and switching to grid view, after previewing an image file and closing the preview window, the scroll bar does not return to its previous position and jumps away. 在查询文件并切换到网格视图时,预览图片文件后关闭预览窗口,滚动条不能恢复到之前的位置,会跳走。

Steps to reproduce

1.Query files. 2.Switch to grid view. 3.Preview an image file. 4.Close the preview window. 5.Observe the scroll bar position.

Expected behavior

The scroll bar should return to its previous position after closing the preview window, allowing users to continue browsing from where they left off.

Installation method

None

Nextcloud Server version

29

Operating system

RHEL/CentOS

PHP engine version

PHP 8.1

Web server

Nginx

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • [X] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

sword2020 avatar Jun 25 '24 02:06 sword2020

Regardless of grid view or list view, the scroll bar will change after opening and closing the picture, and it will not jump back to the original position after closing.

As long as it can be opened and viewed, such as txt, this problem will occur.

NC29

qibao07 avatar Jun 26 '24 09:06 qibao07

Fixed in #48632

joshtrichards avatar Oct 29 '24 15:10 joshtrichards