Open
Description
Environment
Provide version numbers for the following components (information can be retrieved by running tns info
in your project folder or by inspecting the package.json
of the project):
- CLI: 5.3
- Cross-platform modules: 5.3
- Android Runtime: 5.3
- iOS Runtime: 5.3
- Plugin(s):
Describe the bug
When tapping on a TextField
with isUserInteractionEnabled
set to false
tap event is fired only on android (bug) but not in iOS (as expected).
To Reproduce
Add a TextField
:
<TextField (tap)="onTap($event)" isUserInteractionEnabled="false"></TextField>
and tap handler:
onTap(args) {
console.log('onTap:' + args.object);
}
Observe that tap
is fired on android, also the TextField blinks and gets underlined indicating for the interaction.
Expected behavior
No tap event, no blink, no underlining, no indication that we are interacting with the TextField
Sample project
Additional context
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.