File tree Expand file tree Collapse file tree 2 files changed +21
-15
lines changed Expand file tree Collapse file tree 2 files changed +21
-15
lines changed Original file line number Diff line number Diff line change 1
1
{
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) {
40
40
var fab = this ;
41
41
var viewToAttachTo = this . hideOnSwipeOfView ;
42
42
if ( viewToAttachTo !== undefined ) {
43
- var swipeItem = frameModule . topmost ( ) . getViewById ( viewToAttachTo ) ;
43
+ var swipeItem = this . page . getViewById ( viewToAttachTo ) ;
44
44
var animationType = ( this . swipeAnimation ) ? this . swipeAnimation : "slideDown"
45
45
46
46
if ( swipeItem !== undefined ) {
You can’t perform that action at this time.
0 commit comments