We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1、当前激活第一个 2、点击第二项的菜单 3、第二项被激活了
点击第二项的菜单,第二项被激活了,触发了onActiveChange事件
第一项仍被激活,且不会触发onActiveChange事件
No response
1.0.5
Chrome
The text was updated successfully, but these errors were encountered:
感谢您提供详细的重现步骤和当前行为描述。根据您的描述,点击第二项的菜单后,第二项被激活并触发了onActiveChange事件,而您期望第一项仍然被激活且不会触发该事件。
onActiveChange
这种行为可能是由于组件的事件处理逻辑导致的。为了帮助您解决这个问题,我建议您检查以下几点:
如果您需要进一步的帮助,您可以提供相关的代码片段,我可以帮助您分析并提出修改建议。
如果问题依然存在,您可以考虑在 ant-design/x 的 GitHub 仓库中查看是否有类似的问题报告,或者提交一个新的问题报告以获得更多支持。
Sorry, something went wrong.
点击菜单后,阻止冒泡 menuInfo.domEvent.stopPropagation()
menuInfo.domEvent.stopPropagation()
No branches or pull requests
重现步骤
1、当前激活第一个



2、点击第二项的菜单
3、第二项被激活了
当前行为
点击第二项的菜单,第二项被激活了,触发了onActiveChange事件
预期行为
第一项仍被激活,且不会触发onActiveChange事件
上下文
No response
版本
1.0.5
您在哪些浏览器上遇到了这个问题?
Chrome
The text was updated successfully, but these errors were encountered: