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

iOS: Button tap events stop working when under a nested route #14

Open
jnorkus opened this issue Feb 7, 2019 · 5 comments
Open

iOS: Button tap events stop working when under a nested route #14

jnorkus opened this issue Feb 7, 2019 · 5 comments

Comments

@jnorkus
Copy link

jnorkus commented Feb 7, 2019

Which platform(s) does your issue occur on?

  • iOS
  • emulator and devices

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

  • CLI: 5.1.0
  • Cross-platform modules: 5.1.0
  • Runtime(s): 5.1.1

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

Create a router-outlet and a child route component for it. Add a Button element with a shadow directive and a (tap) event handler. When navigated to this route, the button works inconsistently: sometimes it stops working after a few taps, sometimes it doesn't work at all.

Is there any code involved?

I have reproduced this issue in a hello world app, putting the item-details.component into a router-outlet and adding a Button inside of it. The router only works once for some reason - couldn't be bothered to fix but that's not what this is about.
ns-test-shadow.zip

@jnorkus jnorkus changed the title iOS: tap events stop working when under a nested route iOS: Button tap events stop working when under a nested route Feb 7, 2019
@erkanarslan
Copy link

I have the same problem. Buttons works for the first a few times, then stops working. Also I have a SearchBar in a stack-layout that has the shadow directive. I cannot listen to textChange event of the searchbar. It seems like shadow directive prevents events somehow.

@JoshDSommer
Copy link
Owner

Is this on ios and android? or just one system?

@erkanarslan
Copy link

erkanarslan commented Feb 25, 2019 via email

@tahir-jamil
Copy link

any update of it ?

@jnorkus
Copy link
Author

jnorkus commented Jan 2, 2020

Still an issue in 2020.

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

4 participants