mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
implement list multiselection
This commit is contained in:
@@ -273,7 +273,11 @@ export const ItemGridList = ({
|
||||
const { ref: containerRef, width: containerWidth } = useElementSize();
|
||||
const mergedContainerRef = useMergedRef(containerRef, rootRef);
|
||||
|
||||
const internalState = useItemListState();
|
||||
const getDataFn = useCallback(() => {
|
||||
return data;
|
||||
}, [data]);
|
||||
|
||||
const internalState = useItemListState(getDataFn);
|
||||
|
||||
const [initialize] = useOverlayScrollbars({
|
||||
defer: true,
|
||||
|
||||
Reference in New Issue
Block a user