mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 14:08:55 +08:00
feat(mobile): jouranl daily activity and conflict operations (#8779)
close AF-1662
This commit is contained in:
@@ -7,6 +7,7 @@ import { useCallback, useContext, useEffect, useState } from 'react';
|
||||
import { observeResize } from '../../../utils';
|
||||
import { Button } from '../../button';
|
||||
import { Modal } from '../../modal';
|
||||
import { Scrollable } from '../../scrollbar';
|
||||
import type { MenuProps } from '../menu.types';
|
||||
import type { SubMenuContent } from './context';
|
||||
import { MobileMenuContext } from './context';
|
||||
@@ -138,8 +139,12 @@ export const MobileMenu = ({
|
||||
>
|
||||
{sub.title || t['com.affine.backButton']()}
|
||||
</Button>
|
||||
|
||||
{sub.items}
|
||||
<Scrollable.Root>
|
||||
<Scrollable.Viewport className={styles.scrollArea}>
|
||||
{sub.items}
|
||||
</Scrollable.Viewport>
|
||||
<Scrollable.Scrollbar />
|
||||
</Scrollable.Root>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user