Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Platform inconsistency with isUserInteractionEnabled #7103

Copy link
Copy link
Open
@tgpetrov

Description

@tgpetrov
Issue body actions

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.