You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-06-27 15:01:53 +03:00
Update ScrollPanel docs
This commit is contained in:
@ -50,6 +50,10 @@ if (DEBUG_SCROLL) {
|
|||||||
* serialise the scroll state, and returned as the 'trackedScrollToken'
|
* serialise the scroll state, and returned as the 'trackedScrollToken'
|
||||||
* attribute by getScrollState().
|
* 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:
|
* Some notes about the implementation:
|
||||||
*
|
*
|
||||||
* The saved 'scrollState' can exist in one of two states:
|
* The saved 'scrollState' can exist in one of two states:
|
||||||
|
Reference in New Issue
Block a user