Open jnorkus opened 5 years ago
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 https://github.com/JoshDSommer/nativescript-ngx-shadow/issues/14#issuecomment-466816255, 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.
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