Skip to content
New issue

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

Ellipsis组件点击展开、收起会触发onClick事件,是否合理? #692

Closed
liujiayii opened this issue Feb 17, 2023 · 1 comment · Fixed by #700
Closed

Ellipsis组件点击展开、收起会触发onClick事件,是否合理? #692

liujiayii opened this issue Feb 17, 2023 · 1 comment · Fixed by #700
Milestone

Comments

@liujiayii
Copy link

NutUI scenes(nutui 场景)

小程序(@nutui/nutui-react-taro)

NutUI-react version(nutui-react 版本)

1.4.7

React version(react 版本)

18.2.0

Operating environment(运行环境)

dev:weapp

Citation method(引用方式)

npm

Node version(node 版本)

16.15.0

Browser and its version(浏览器及其版本)

chrome

System and its version(系统及其版本)

macos

Taro environmental information(taro 环境信息)

Taro CLI 3.6.1 environment info:
System:
OS: Windows 10
Binaries:
Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - C:\Users\liuji\AppData\Roaming\npm\yarn.CMD
npm: 8.13.2 - C:\Program Files\nodejs\npm.CMD

Reproduction link(重现链接)

github.com/liujiayii/chat-bot

Steps to reproduce(重现步骤)

What is expected?(期望的结果是什么?)

不触发onClick

What is actually happening?(实际的结果是什么?)

触发onClick

image

@oasis-cloud
Copy link
Collaborator

展开和收起操作的事件应该加上阻止冒泡,建议合理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants