You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tap does not work when cssClass present on <Button> #14
By simply adding any cssClass to a <Button>, the tap event is not fired anymore. This can be replicated by simply creating a new project and adding cssClass="message" to the <Button>. I can only confirm this for iOS.
changed the title [-]`tap` does not work when `cssClass` present on `<Button>`[/-][+]tap does not work when cssClass present on <Button>[/+]on Mar 15, 2015
It's a known issue - declaring event binding does not work if it is not the last attribute in the xml element definition. Good news is that is already fixed - will be available with the next release.
@grouchycoterie I think this was fixed long ago. If you managed to reproduce it - please reopen the issue and post some code so that we can investigate. It might be a regression.
Activity
[-]`tap` does not work when `cssClass` present on `<Button>`[/-][+]tap does not work when cssClass present on <Button>[/+]edimoldovan commentedon Mar 17, 2015
For better reproducibility I would add that it works like this:
<Button cssClass="next" text="next" tap="{{ nextAction }}" />vakrilov commentedon Mar 25, 2015
It's a known issue - declaring event binding does not work if it is not the last attribute in the xml element definition. Good news is that is already fixed - will be available with the next release.
michaelmagan commentedon Jul 26, 2016
You should add this to documentation of the tutorial. Ran into this problem there
vakrilov commentedon Jul 26, 2016
@grouchycoterie I think this was fixed long ago. If you managed to reproduce it - please reopen the issue and post some code so that we can investigate. It might be a regression.
michaelmagan commentedon Jul 28, 2016
Wow. I can't reproduce now. I thought all I did was move this around but I guess something else was going on.
Merge pull request #14 from NativeScript/issue-1232
lock commentedon Aug 29, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.