mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 02:56:23 +08:00
feat(core): enable quick select for trash page (#12878)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enabled quick select functionality in the Trash page, allowing users to more efficiently select multiple items. - Improved selection mode activation when using quick select actions in document explorer views. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -210,6 +210,7 @@ export const QuickSelect = memo(function QuickSelect({
|
||||
|
||||
const onChange = useCallback(
|
||||
(e: React.MouseEvent<HTMLButtonElement>) => {
|
||||
contextValue.selectMode$?.next(true);
|
||||
onClick?.(e);
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user