Skip to content
Snippets Groups Projects
Commit 0d2555cf authored by Andreas Fernandez's avatar Andreas Fernandez
Browse files

[BUGFIX] Animate docheader folding via CSS transitions

A backend module's docheader is "folded" when scrolling down in the
backend module. Sometimes, the folding process appears to be laggy due
to the pixel-snapping approach of animating a position change, which also
leads to more work for browser engines.

For a better rendering performance, the element isn't physically moved in
the DOM, but transformed instead, offloading work to the GPU.

See [1] for further information.

[1] https://web.dev/animations-overview/

Resolves: #98693
Releases: main, 11.5
Change-Id: I93be697d8105eef83ce2376c8879419058dfdb85
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76226


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 2dc49ec6
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment