react-component / react-component/cascader

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

Open
#352 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
233
Forks
149
Avg merge
10h 23m
Merged PRs (30d)
2

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the hover example in the docs site and compare it with the working Cascader.tsx sandbox linked in the issue. Define how the delay prop should affect selection when expandTrigger='hover', then verify that the hover example works without the reported sandbox error and that the delay is observable.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.