Possible to pass as prop delay for expandTrigger='hover' ?

未關閉
#352 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
react, typescript
領域
frontend

研究方向

從文件網站中的 hover 範例開始,並將其與 issue 中連結的可正常運作的 Cascader.tsx sandbox 進行比較。定義當 expandTrigger='hover' 時 delay prop 應如何影響選取,然後驗證 hover 範例能在沒有回報的 sandbox 錯誤的情況下運作,且可以觀察到 delay。

由索引模型根據 Issue 內容生成。

描述

Currently, with expandTrigger='hover', component changes selection too quickly. Would it be possible to expose a delay prop into the component to control this behavior?

The current hover sandbox found in the docs site is showing a sandbox error

The sand box below is forked with a working example:
https://codesandbox.io/s/confident-swartz-e1kxin?file=/Cascader.tsx:7876-7879

主要語言
TypeScript
星號
235
分支
153
平均合併
8 分鐘
30 天內合併 PR
1

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

react-component/cascader 的其他 Issue

查看 react-component/cascader 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。