feat: enable scrolling for overflowing drawer content
This commit is contained in:
parent
b73b3512f3
commit
83c95782bd
5 changed files with 50 additions and 42 deletions
|
|
@ -31,7 +31,7 @@ export function MobileMenu({
|
|||
{trigger}
|
||||
<Drawer open={isDrawerOpen} onOpenChange={setIsDrawerOpen}>
|
||||
<DrawerOverlay onClick={closeDrawer} />
|
||||
<DrawerContent hideOverlay className="max-h-screen">
|
||||
<DrawerContent hideOverlay className="max-h-[80vh]">
|
||||
<div className="overflow-y-auto overscroll-contain py-2" style={{ touchAction: 'pan-y' }}>
|
||||
{!showSubMenu ? (
|
||||
menuActions.map((action, index) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue