From 195685e09394a1ea6fbe296ede2e6e50a7776940 Mon Sep 17 00:00:00 2001 From: sunhao Date: Fri, 23 Aug 2024 17:39:15 +0800 Subject: [PATCH] * picker: set relativeTarget to footer toolbar. --- lib/picker/src/component/picker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/picker/src/component/picker.tsx b/lib/picker/src/component/picker.tsx index d9e8dbdafe..f15d2336fa 100644 --- a/lib/picker/src/component/picker.tsx +++ b/lib/picker/src/component/picker.tsx @@ -367,7 +367,7 @@ export class Picker { + return Toolbar.render(toolbar, [], {size: 'sm', relativeTarget: this, getItem: (item) => { if (!item.onClick) { if (item.key === 'selectAll') { item.onClick = this.selectAll.bind(this);