I have designed an ionic component that has an x button in the top right corner.
tapping the buttton results in the component emitting an event that triggers a function call in the parent which changes a boolean (which determines if the child component is show) to false, removing the child.
My issue is that when a user taps on the x it appears to remove the component and then pass the tap along to the component that replaces it. This has the undesireable effect of the user being launched into a section of the app that they were not trying to access.
(tap) I run in to this issue. If I revert to using good old angular
(click) then the issue no longer manifests.
Is this some kind of bug or am I doing things in a way that is not preferred?