Skip to content

Commit

Permalink
fix(collapse): 修复collapse点击pannel内容部分引起关闭的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanaMaid committed Jul 2, 2018
1 parent af82fae commit a7721ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/Collapse/Panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ export class Panel extends Component<IPanelProps, IPanelState> {
className={clsName}
style={style}
{...otherProps}
onClick={this.onChange}
>
<div className={`${preCls}-title`}>
<div className={`${preCls}-title`} onClick={this.onChange}>
<Icon type='ios-arrow-right' className={`${preCls}-icon`}/>
{title}
</div>
Expand Down

0 comments on commit a7721ab

Please sign in to comment.