react-component / react-component/tree

Tree navigation using the keyboard arrow keys in Antd@4.0.0-rc.0 still not working

Open
#283 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
490
Avg merge
3d 17h
Merged PRs (30d)
5

Description

Hi,

i am exploring the functionallity of the tree, especially the key event handling and scrolling capability.

I have created a fresh installation of antd@4.0.0-beta.0, depending on rc-tree@3.0.0-alpha.37.

Unfortuantely, the key down events are not triggering the callback function for processing the key up, down, left and right.

Is this expected, since it is still in beta?

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 by reproducing the keyboard behavior with antd@4.0.0-beta.0 and rc-tree@3.0.0-alpha.37, then inspect the tree's key event handling. Done means the up, down, left, and right arrow key events trigger the expected callbacks and scrolling behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.