Add menu control button #24
@@ -376,7 +376,6 @@ const HideScrollbar = forwardRef<HideScrollbarElement, HideScrollbarProps>((prop
|
|||||||
setVerticalScrollbarLength(
|
setVerticalScrollbarLength(
|
||||||
(rootRef.current.clientHeight / (contentRef.current?.clientHeight ?? 0)) * 100
|
(rootRef.current.clientHeight / (contentRef.current?.clientHeight ?? 0)) * 100
|
||||||
)
|
)
|
||||||
console.log(horizontalScrollbarLength)
|
|
||||||
|
|
||||||
rootRef.current &&
|
rootRef.current &&
|
||||||
setHorizontalScrollbarLength(
|
setHorizontalScrollbarLength(
|
||||||
|
|||||||
Reference in New Issue
Block a user