t3 / scroll
Prevents scroll jumps in TYPO3 CMS backend.
Installs: 49 405
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 1
Open Issues: 2
Language:Shell
Type:typo3-cms-extension
pkg:composer/t3/scroll
Requires
- php: >=8.1
- typo3/cms-backend: *
- typo3/cms-core: ^12.4 || ^13.4
README
TYPO3 CMS extension to prevent scroll jumps in the backend. It works in the page module as well as in the list view.
Installation
Just install the extension, like any other TYPO3 CMS extension. TYPO3 12.4 LTS and 13.4 LTS are supported.
Link to TER: https://extensions.typo3.org/extension/scroll
For Composer, you can use:
composer require t3/scroll
Setup
There is no configuration. Just install the extension and enjoy the experience :)
How it works
EXT:scroll registers two JavaScript modules via TYPO3's module loader in the backend. One for the page module (ScrollPageModule.js)
and another for the list view (ScrollRecordList.js).
Both scripts utilize the sessionStorage API to store the current scrollTop position, before unloading the page.
Next time the page is loaded and a scrollTop value for this page has been stored in sessionStorage, the script will scroll to the saved position.
Support
If you like this TYPO3 extension, you can donate some funds to support further development. Thank you!
For help please visit the issue section on GitHub.
DDEV Environment
This repository contains a handy DDEV configuration, which allows you to run the extension in a local TYPO3 environment.
More info: https://github.com/a-r-m-i-n/ddev-for-typo3-extensions