@kizmann/nano-ui 0.7.7 → 0.7.10

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kizmann/nano-ui",
3
- "version": "0.7.7",
3
+ "version": "0.7.10",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -79,7 +79,7 @@ export default {
79
79
  }
80
80
 
81
81
  this.init = true;
82
- }, 1);
82
+ }, 40);
83
83
  },
84
84
 
85
85
  beforeUnmount()
@@ -79,7 +79,7 @@ export default {
79
79
  }
80
80
 
81
81
  this.init = true;
82
- }, 1);
82
+ }, 40);
83
83
  },
84
84
 
85
85
  beforeUnmount()
@@ -310,7 +310,7 @@ export default {
310
310
  // Dom.find(this.$el).addClass('has-native-hbar');
311
311
  // }
312
312
 
313
- let hasVtrack = outerHeight && outerHeight < innerHeight;
313
+ let hasVtrack = outerHeight && outerHeight < innerHeight - 1;
314
314
 
315
315
  if ( hasVtrack ) {
316
316
  Dom.find(this.$el).addClass('has-vtrack');
@@ -388,7 +388,7 @@ export default {
388
388
  // Dom.find(this.$el).addClass('has-native-vbar');
389
389
  // }
390
390
 
391
- let hasHtrack = outerWidth && outerWidth < innerWidth;
391
+ let hasHtrack = outerWidth && outerWidth < innerWidth - 1;
392
392
 
393
393
  if ( hasHtrack ) {
394
394
  Dom.find(this.$el).addClass('has-htrack');