ionic-team / ionic-team/ionic-framework

bug: ion-checkbox is toggled by ion-item click

オープン
#20,521 コメント 3 件 リアクション 3 件 担当者 0 名 GitHub で見る
package: core type: bug
主要言語
TypeScript
スター
52.7k
フォーク
13.3k
平均マージ
1日 15時間
マージ済み PR(30日)
51

説明

# Bug Report

**Ionic version:**

[x] **4.x**

**Current behavior:**

If you have the following markup, any click or tap on the ion-item will toggle the ion-checkbox:

```


Testing!


```

**Expected behavior:**

The ion-checkbox should only toggle when it is clicked, or the click event from the ion-item should be cancellable.

**Steps to reproduce:**

**Related code:**

[Codepen](https://codepen.io/bsbechtel/pen/YzXWKOW?editors=1100)

**Other information:**

This issue has been brought up multiple times and not fixed: [19590](https://github.com/ionic-team/ionic/issues/19590) [15850](https://github.com/ionic-team/ionic/issues/15850) [17832](https://github.com/ionic-team/ionic/issues/17832)

**Ionic info:**

```
insert the output from ionic info here
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。