Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Readme.md Preview - Layout Shift #4216

Closed
3 of 9 tasks
titouandk opened this issue May 22, 2023 · 2 comments
Closed
3 of 9 tasks

[Bug]: Readme.md Preview - Layout Shift #4216

titouandk opened this issue May 22, 2023 · 2 comments
Labels
0. Needs triage bug Something isn't working

Comments

@titouandk
Copy link

titouandk commented May 22, 2023

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Disclaimer

I do not know if NextCloud is up to date (I use it as an employee in an enterprise context).
Maybe this bug has been fixed.

Bug description

The readme.md preview (in a directory) causes a layout shift.

When the readme.md file finishes loading, its content is displayed as expected, but the list of directories below is pushed down.

When happening in each visited directory, this impacts negatively the UX:

Enregistrement.de.l.ecran.2023-05-22.a.10.29.43.mov

Steps to reproduce

  1. Activate readme.md preview in options
  2. Create a directory
  3. Add a readme.md with a lorem
  4. Navigate to this directory

Expected behavior

Maybe the readme.md preview should have a fixed height to avoid this phenomenon.

Installation method

None

Nextcloud Server version

24

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

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

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

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

Configuration report

No response

List of activated Apps

--

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@titouandk titouandk added 0. Needs triage bug Something isn't working labels May 22, 2023
@szaimen szaimen transferred this issue from nextcloud/server May 22, 2023
@titouandk
Copy link
Author

This bug seems related to #2834

(Since I originally posted this issue in /server, I did not found the duplicate searching for them)

@juliusknorr
Copy link
Member

Closing as a duplicate of #2834, possible fix in #4254

@juliusknorr juliusknorr closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants