I have 2
Buttons and a
StackLayout ( which is inside a gridview ) which is “sliding” from the right side.
<Button (tap)="onShowTapped(slidePosition)" ...></Button> <Button (tap)="onShowTapped(slidePosition)" ...></Button>
(the first button shows(!) the overlay , the second one hides(!) it)
Later on (as a sibling markup) I have this
Layout ([full markup here]):
<StackLayout slide-in slideFrom="right"> <Label class="drawer" text="A wild right view has appeared" textWrap="true"></Label> </StackLayout>
Here it how it looks :
So where is the problem ?
If you notice - I click on the overlay(!) which has a
z-index:999 above the “close” button - and it actually taps the button!
What should I change in order for tapping the
overlay - not to cause tapping on the
button under it ?