fix: display admin and inactive when view

This commit is contained in:
jialin
2025-11-12 16:11:17 +08:00
parent 653ada5f0f
commit 2045bfaf78
7 changed files with 63 additions and 24 deletions
@@ -28,6 +28,7 @@ const ColumnWrapper: React.FC<ColumnWrapperProps> = ({
scrollEventElement,
scrollToBottom,
scrollToTarget,
getScrollElement,
getScrollElementScrollableHeight
} = useOverlayScroller({
options: {
@@ -49,6 +50,7 @@ const ColumnWrapper: React.FC<ColumnWrapperProps> = ({
scroller: scroller,
osInstance: instance,
scrollEventElement,
getScrollElement,
getScrollElementScrollableHeight,
scrollToBottom,
scrollToTarget
@@ -11,6 +11,7 @@ interface WrapperContextProps {
scrollTop: number;
};
scrollToTarget?: (target: any, offset?: number) => void;
getScrollElement?: () => HTMLElement | null;
}
export const WrapperContext = createContext<WrapperContextProps>(