mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Update ScrollPanel docs
This commit is contained in:
parent
3f25928380
commit
fe83a99ab7
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@ if (DEBUG_SCROLL) {
|
|||
* serialise the scroll state, and returned as the 'trackedScrollToken'
|
||||
* attribute by getScrollState().
|
||||
*
|
||||
* Child elements that contain elements that have scroll tokens must declare the
|
||||
* contained scroll tokens using 'data-contained-scroll-tokens`. When scrolling
|
||||
* to a contained scroll token, the ScrollPanel will scroll to the container.
|
||||
*
|
||||
* Some notes about the implementation:
|
||||
*
|
||||
* The saved 'scrollState' can exist in one of two states:
|
||||
|
|
Loading…
Reference in a new issue