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

fix(check-list): fix click md-icon without any action bug #494

Merged
merged 1 commit into from
Jul 18, 2019

Conversation

supergaojian
Copy link
Collaborator

fix #491

背景描述

check-list、selector(多选模式使用check-list)点击icon时,没有反应。原因是check-list内置了md-check,点击icon时触发了md-check向inject中rootGroup的check方法,同时也触发了check-list的click回调再次调用rootGroup的toggle方法,导致重复调用出现bug

主要改动

check-list中对md-check阻止默认行为

需要注意

@xxyan0205 xxyan0205 self-requested a review July 15, 2019 06:25
@xxyan0205 xxyan0205 merged commit dd4bba0 into dev Jul 18, 2019
@xxyan0205 xxyan0205 deleted the fix_check-list_icon_bug branch July 18, 2019 07:13
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 this pull request may close these issues.

2 participants