2021 Aug 13 10:23 AM
Tutorials: https://developers.sap.com/tutorials/ui5-webcomponents-react-card.html
--------------------------
Hi,
in Step 4 of this tutorial we're using a CardHeader component, which is supposed to only fire an onClick event, if the "interactive" prop is "true". But in my case, I can leave out the interactive prop and the onClick event still fires on click. It follows that if I set interactive to "true", that the onClick event fires twice.
I've tried copying the exact code snippet and it still happens.
Anyone else had this problem? I can post some details of my package.json etc if needed, just didn't find a spoiler tag to reduce clutter in the question.
Tutorials: https://developers.sap.com/tutorials/ui5-webcomponents-react-card.html
--------------------------
Hi,
in Step 4 of this tutorial we're using a CardHeader component, which is supposed to only fire an onClick event, if the "interactive" prop is "true". But in my case, I can leave out the interactive prop and the onClick event still fires on click. It follows that if I set interactive to "true", that the onClick event fires twice.
I've tried copying the exact code snippet and it still happens.
Anyone else had this problem? I can post some details of my package.json etc if needed, just didn't find a spoiler tag to reduce clutter in the question.
2021 Aug 13 10:23 AM
Thank you for asking a question in the SAP Community!
Your question is very important to us. It would be helpful for you to take the tutorial: https://community.sap.com/resources/questions-and-answers which provides tips for preparing questions that draw the best responses from our members. Plus, by organizing your Community profile using this tutorial: https://developers.sap.com/tutorials/community-profile.html you will encourage more readers to respond to your questions!
Thank you!