MCPcopy Create free account
hub / github.com/adobe/react-spectrum / isLoaderAnchorable

Function isLoaderAnchorable

packages/@react-spectrum/ai/src/ListLayout.ts:31–31  ·  view source on GitHub ↗
(layoutInfo: LayoutInfo)

Source from the content-addressed store, hash-verified

29} from 'react-stately/useVirtualizerState';
30
31const isLoaderAnchorable = (layoutInfo: LayoutInfo): boolean => layoutInfo.type !== 'loader';
32
33export interface ScrollAnchorInfo {
34 /** Which edge of the content the viewport should stay anchored to. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected