Skip to content

Stacked Label elements doesn't pass-thru tap events (iOS) #3524

@erjdriver

Description

@erjdriver

Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?

Yes..verified issue on iOS version of {N} only.

Tell us about the problem

I've got an AbsoluteLayout and in it I create a Label element. Then I've got another Label element stacked on top of it - it's wider and transparent background.

Label #1 has a tap event. Label #2 doesn't. I would like all taps on #1 to be called. Nothing for #2.

On iOS, looks like #2 is not passing thru the tap events.

Which platform(s) does your issue occur on?

iOS only.

Please provide the following version numbers that your issue occurs with:

  • CLI: (run tns --version to fetch it) 2.4.2

iOS platform 2.4.1

Please tell us how to recreate the issue in as much detail as possible.

Create an AbsoluteLayout. Create a label in it and register tap event. Create another label over it.

Now tap on label#1 - events not being called.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

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