File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "nativescript" : {
3- "id" : " org.nativescript.floatingactionbutton" ,
4- "tns-android" : {
5- "version" : " 1.7.1"
6- },
7- "tns-ios" : {
8- "version" : " 2.3.0"
9- }
10- },
11- "dependencies" : {
12- "nativescript-floatingactionbutton" : " file:.." ,
13- "tns-core-modules" : " latest"
14- }
15- }
2+ "nativescript" : {
3+ "id" : " org.nativescript.floatingactionbutton" ,
4+ "tns-android" : {
5+ "version" : " 2.5.0"
6+ },
7+ "tns-ios" : {
8+ "version" : " 2.5.0"
9+ }
10+ },
11+ "dependencies" : {
12+ "nativescript-floatingactionbutton" : " file:.." ,
13+ "tns-core-modules" : " latest"
14+ },
15+ "devDependencies" : {
16+ "babel-traverse" : " 6.24.1" ,
17+ "babel-types" : " 6.24.1" ,
18+ "babylon" : " 6.17.0" ,
19+ "lazy" : " 1.0.11"
20+ }
21+ }
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ var FloatingActionButton = (function (_super) {
4040 var fab = this ;
4141 var viewToAttachTo = this . hideOnSwipeOfView ;
4242 if ( viewToAttachTo !== undefined ) {
43- var swipeItem = frameModule . topmost ( ) . getViewById ( viewToAttachTo ) ;
43+ var swipeItem = this . page . getViewById ( viewToAttachTo ) ;
4444 var animationType = ( this . swipeAnimation ) ? this . swipeAnimation : "slideDown"
4545
4646 if ( swipeItem !== undefined ) {
You can’t perform that action at this time.
0 commit comments