Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ hasPreserveAnchor
Method
hasPreserveAnchor
valdi/src/valdi/runtime/Context/ViewNodeScrollState.cpp:480–482 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
478
return _preserveScrollPosition;
479
}
480
481
void ViewNodeScrollState::setNativeStickyEnabled(bool enabled) {
482
_nativeStickyEnabled = enabled;
483
}
484
485
bool ViewNodeScrollState::getNativeStickyEnabled() const {
Callers
1
updateScrollState
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected