mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
Add drag container for web library headers (#206)
This commit is contained in:
parent
c4f9868a6b
commit
fd7468a4fe
2 changed files with 56 additions and 35 deletions
|
|
@ -125,14 +125,12 @@ export const NativeScrollArea = forwardRef(
|
|||
|
||||
return (
|
||||
<>
|
||||
{shouldShowHeader && (
|
||||
<PageHeader
|
||||
animated
|
||||
isHidden={false}
|
||||
position="absolute"
|
||||
{...pageHeaderProps}
|
||||
/>
|
||||
)}
|
||||
<PageHeader
|
||||
animated
|
||||
isHidden={!shouldShowHeader}
|
||||
position="absolute"
|
||||
{...pageHeaderProps}
|
||||
/>
|
||||
<StyledNativeScrollArea
|
||||
ref={mergedRef}
|
||||
scrollBarOffset={scrollBarOffset}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue