react-component / react-component/dropdown

onVisibleChange is not fired when menu item is selected

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

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
181
Forks
112
Avg merge
12h 52m
Merged PRs (30d)
2

Description

onVisibleChange is not fired when menu item is selected
这个问题在现在的最新版中仍然存在
https://codesandbox.io/s/jiben-antd492-forked-jldb1?fontsize=14&hidenavigation=1&theme=dark

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

Run the linked CodeSandbox reproduction first and trace the dropdown trigger and menu-selection path around onVisibleChange. Done means onVisibleChange is fired when a menu item is selected, while preserving the component's existing visibility behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
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.