Hey all, getting a bit of an issue with a onClick event.
So basically I have a navigation tree that I need to make from scratch because the native perspective one does not meet my needs. With that I have a favorite functionality on each item in the navigation tree. I need to put an onClick listener on the row of each item while also having an onClick listener on the star icon nested deeper in that item. What's happening is even if i click the star icon it is still registering as a click for the row onClick listener instead of the star onClick listener. I know its because the star listener is within the other one but i have no idea how to solve this issue. I have tried to make the z-index higher on the star icon but to no avail. Here's my structure:
