[Feature] 自定义dom组件开启pointerEvents之后仍然支持原单元格各种默认事件
What problem does this feature solve?
目前使用自定义dom组件并且开启pointerEvents时,点击单元格不会选中
What does the proposed API look like?
自定义dom组件开启pointerEvents之后仍然支持原单元格的各种默认事件
https://github.com/user-attachments/assets/9cd20ac1-4806-4cab-a013-996d01cea7d6
你都用pointerEvents 肯定就是回到原生监听了 可以通过selectCell去做选中呀 https://visactor.io/vtable/api/Methods#selectCell
你都用pointerEvents 肯定就是回到原生监听了 可以通过selectCell去做选中呀 https://visactor.io/vtable/api/Methods#selectCell
不仅仅是选中,对于其他事件也不支持,而ReactTable是支持的
https://github.com/user-attachments/assets/f5f8851e-b22c-4fe7-9359-f337102a7aa6
感谢你的反馈!
如果有开发者对这个 issue 感兴趣,请在issue下方留言“认领该issue”,留言后开始你的创作提pr给我们!
欢迎大家参与开源共建!我们非常感激每一位贡献者,提交pr后我们将为参与共建的开发者准备一份礼品。
参与共建可参考:https://visactor.io/vtable/guide/Contribution_Guide
与官方开发者交流问题可以下载飞书app扫码加入飞书群:
再次感谢你的支持!
Thank you for your feedback! We have received your question and will deal with it later. If any developer is interested in this issue, please leave a message "claim this issue" below the issue. Welcome to participate in open source co-construction! We are very grateful to every contributor. After submitting the PR, we will prepare a gift for the developers who participated in the co-construction. For participation in co-construction, please refer to: https://visactor.io/vtable/guide/Contribution_Guide To communicate with official developers, you can download the Feishu app and scan the QR code to join the Feishu group! Thank you again for your support!
你都用pointerEvents 肯定就是回到原生监听了 可以通过selectCell去做选中呀 https://visactor.io/vtable/api/Methods#selectCell
不仅仅是选中,对于其他事件也不支持,而ReactTable是支持的
20250926173827_rec_.mp4
ReactTable同样不支持,视频中可以选中是因为dom元素没有占满单元格
感谢你的反馈! 如果有开发者对这个 issue 感兴趣,请在issue下方留言“认领该issue”,留言后开始你的创作提pr给我们! 欢迎大家参与开源共建!我们非常感激每一位贡献者,提交pr后我们将为参与共建的开发者准备一份礼品。 参与共建可参考:https://visactor.io/vtable/guide/Contribution_Guide 与官方开发者交流问题可以下载飞书app扫码加入飞书群:
再次感谢你的支持!
Thank you for your feedback! We have received your question and will deal with it later. If any developer is interested in this issue, please leave a message "claim this issue" below the issue. Welcome to participate in open source co-construction! We are very grateful to every contributor. After submitting the PR, we will prepare a gift for the developers who participated in the co-construction. For participation in co-construction, please refer to: https://visactor.io/vtable/guide/Contribution_Guide To communicate with official developers, you can download the Feishu app and scan the QR code to join the Feishu group! Thank you again for your support!
从目前 vtable-react-attribute-plugin 实现来看,官方是预留了口子 penetrateEventList 属性处理事件透传,但目前仅默认实现了 wheel 事件透传,个人认为这里应该默认透传 EventManager 中所有事件