feat: Popover add contextmenu
- Popover气泡卡片添加右键动作
我是修改trigger名重提pr还是直接使用v4呢?
------------------ 原始邮件 ------------------ 发件人: "XiaoMi/hiui" @.>; 发送时间: 2022年7月5日(星期二) 晚上9:32 @.>; @.@.>; 主题: Re: [XiaoMi/hiui] feat: add right-click (PR #2166)
@Flcwl approved this pull request.
In components/popover/index.d.ts:
> @@ -4,7 +4,7 @@ export interface PopoverProps { title?: string | JSX.Element content: string | JSX.Element placement?: 'top' | 'right' | 'bottom' | 'left' - trigger?: 'click' | 'focus' | 'hover' + trigger?: 'click' | 'focus' | 'hover' | 'right-click'
可以就叫 contextmenu ,v4 已经扩展了这个功能
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
我是修改trigger名重提pr还是直接使用v4呢? … ------------------ 原始邮件 ------------------ 发件人: "XiaoMi/hiui" @.>; 发送时间: 2022年7月5日(星期二) 晚上9:32 @.>; @.@.>; 主题: Re: [XiaoMi/hiui] feat: add right-click (PR #2166) @Flcwl approved this pull request. In components/popover/index.d.ts: > @@ -4,7 +4,7 @@ export interface PopoverProps { title?: string | JSX.Element content: string | JSX.Element placement?: 'top' | 'right' | 'bottom' | 'left' - trigger?: 'click' | 'focus' | 'hover' + trigger?: 'click' | 'focus' | 'hover' | 'right-click' 可以就叫 contextmenu ,v4 已经扩展了这个功能 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
@cafkagh 可以使用 v4 的 @hi-ui/popover,目前v3正在归档处理,非特殊情况暂时不考虑更新版本~
npm i @hi-ui/popover@feature