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

react的Table表格组件的onRow的click事件似乎有点问题 #2722

Closed
fni26316 opened this issue Dec 2, 2021 · 0 comments
Closed

react的Table表格组件的onRow的click事件似乎有点问题 #2722

fni26316 opened this issue Dec 2, 2021 · 0 comments

Comments

@fni26316
Copy link

fni26316 commented Dec 2, 2021

表格组件的行点击事件和文本选中有冲突,比如说表格的行加了onRow事件,然后你在想选中改行单元格的文本时也会同事触发点击事件,如果点击事件是页面跳转,就没办法执行选中复制文本操作,
这个不知道大佬们是否可以优化一下
建议点击事件中如果有鼠标移动(mousemove) 那就默认不触发click事件 只做文本选择操作

@fni26316 fni26316 closed this as completed Dec 2, 2021
@fni26316 fni26316 reopened this Mar 3, 2022
@fni26316 fni26316 closed this as completed Mar 3, 2022
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

No branches or pull requests

1 participant