scottmgerstl / nativescript-angular-slidein Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Simplification :
I have 2 Button
s 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!
Question
What should I change in order for tapping the overlay
- not to cause tapping on the button
under it ?
Hello I've read your article and sample : but couldn't hide a menu at the bottom using calculation margin
Can you please have a look ?
https://stackoverflow.com/questions/47618331/nativescript-how-to-hide-a-menu-under-the-bottom
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.