Hey I\'m using Angular material Drag and drop. Everything is working fine but after each drag it triggers the click event and it\'s really annoying. How can I stop this?
Turning off pointer events for the element while it's being dragged prevents a click event afterwards:
template:
styles.scss: .pointer-events-none { pointer-events: none; } 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
styles.scss:
.pointer-events-none { pointer-events: none; }