bug: Clickable Ion list item inconsistency
See original GitHub issueBug Report
Ionic version:
[x] 5.x Ionic Angular
Current behavior: If you have menu with a list of clickable items the only clickable components inside of these items are buttons, even if you add a click event to something else inside it gets stripped down. The same list outside of an ion menu works fine with everything clickable. Also the ‘button’ attribute said to fix this doesn’t make the ion item clickable it just adds a detail at the end. I tried adding an href=“#” as well which makes the app navigate in a weird manner. Usually href with a pound (#) does not navigate anyway in the angular router.
Gif of the issue:
https://gfycat.com/ifr/RewardingExemplaryGecko
The code in both views is the same.
Expected behavior: Ion items with a (click) property to be wholly clickable.
Ionic info:
Ionic:
Ionic CLI : 6.2.2 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.0.5
@angular-devkit/build-angular : 0.900.7
@angular-devkit/schematics : 8.3.25
@angular/cli : 9.0.7
@ionic/angular-toolkit : 2.2.0
Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0, ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 19 other plugins)
Utility:
cordova-res (update available: 0.11.0) : 0.9.0
native-run (update available: 1.0.0) : 0.3.0
System:
ios-deploy : 1.10.0
ios-sim : 8.0.2
NodeJS : v10.19.0 (/usr/local/Cellar/node@10/10.19.0/bin/node)
npm : 6.13.4
OS : macOS Catalina
Xcode : Xcode 11.4 Build version 11E146
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top GitHub Comments
@liamdebeasi I got you https://github.com/NikolaPeevski/ion-item-bug
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.