@nativescript-community/ui-drawer 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.1.1](https://github.com/nativescript-community/ui-drawer/compare/v0.1.0...v0.1.1) (2022-05-12)
7
+
8
+ **Note:** Version bump only for package @nativescript-community/ui-drawer
9
+
10
+
11
+
12
+
13
+
6
14
  # [0.1.0](https://github.com/nativescript-community/ui-drawer/compare/v0.0.35...v0.1.0) (2022-05-03)
7
15
 
8
16
 
package/index.js CHANGED
@@ -764,6 +764,9 @@ let Drawer = class Drawer extends GridLayout {
764
764
  return;
765
765
  }
766
766
  }
767
+ if (this.showingSide && this.showingSide !== side) {
768
+ this.close();
769
+ }
767
770
  if (!this.isOpened(side)) {
768
771
  this.forceEnsureSize(side);
769
772
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-drawer",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Easily add a side drawer (side menu) to your projects.",
5
5
  "main": "./index",
6
6
  "sideEffects": false,
@@ -54,5 +54,5 @@
54
54
  "dependencies": {
55
55
  "@nativescript-community/gesturehandler": "^2.0.5"
56
56
  },
57
- "gitHead": "c47f20d7473875435ff8a0b2b9e2ea4520870565"
57
+ "gitHead": "e4f63bef53edc1e7e0f1ec9c5195677cac46f552"
58
58
  }