Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RootLayout on iOS doesn't allow to touch elements behind after adding view #1293

Open
darkyelox opened this issue Oct 15, 2021 · 0 comments
Open

Comments

@darkyelox
Copy link

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: 8.1.4
  • Cross-platform modules: 8.1.4
  • iOS Runtime: 8.1.0

Describe the bug
The RootLayout is a great idea for put views over other views but is there a way for making it transparent to events? (maybe with some kind of option) or have I to extend the class and create my own implementation? my problem is that I have a floating tap that I want to be present in several of my views so I used RootLayout, it works perfect on Android but iOS makes all my views unresponsive to user touches (maybe hit test problem)

RootLayoutProblem

To Reproduce
Put some button with tap event in a view, add a view to RootLayout, button becomes unresponsive to touch events

getRootLayout().addChild(view)

Expected behavior
The option to enable or disable touch events through a RootLayout (for example cases: a Dialog ( no events enabled) a floating button (enable events for the rest of page)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant