♻️(frontend) delegate scroll to side panel content
Allow more flexibility in side panel behavior. Some panels, such as the chat, require specific scrolling functionality: - Header and footer should remain fixed - Only chat messages should be scrollable This change enables customization of scroll behavior for different panel types, improving component reusability.
This commit is contained in:
committed by
aleb_the_flash
parent
0da8aa846a
commit
0370d9cad0
@@ -58,7 +58,7 @@ const StyledSidePanel = ({
|
||||
<RiCloseLine />
|
||||
</Button>
|
||||
</Div>
|
||||
<Div overflowY="scroll">{children}</Div>
|
||||
{children}
|
||||
</Box>
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user