forked from Especializa/nativescript-ng-shadow
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Comments
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
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. |
Is this on ios and android? or just one system? |
iOS only. SearchBar’s textChange event does not work at all. Button’s tap
event works a few times than stops working, tap event of label element
works without problem. Another thing i noticed is that shadow directive
breaks positioning and margins. I use this plugin for a select box pop up
which is centered in the screen via a parent flexbox layout. However, when
i apply shadow directive, popup is aligned to top of the screen. When I
apply margin top value, shadow directive changes the amount of margin by
approximately 20 dips. No problem in Android.
24 Şub 2019 Paz, saat 23:58 tarihinde Josh Sommer <notifications@github.com>
şunu yazdı:
Is this on ios and android? or just one system?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALZXexA31Y6wZXHVd4wckRg4WtY9RJJxks5vQvzigaJpZM4am1hc>
.
--
*Erkan Arslan*
erkanarslan92@gmail.com
|
any update of it ? |
Still an issue in 2020. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
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 aButton
element with ashadow
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 arouter-outlet
and adding aButton
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
The text was updated successfully, but these errors were encountered: