@kizmann/nano-ui 0.9.1 → 0.9.2

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.9.1",
3
+ "version": "0.9.2",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -836,8 +836,16 @@ export default {
836
836
 
837
837
  renderPopover()
838
838
  {
839
+ let classList = [
840
+ 'n-popover--select'
841
+ ];
842
+
843
+ if ( this.lazy ) {
844
+ classList.push('n-virtual');
845
+ }
846
+
839
847
  let props = {
840
- class: 'n-popover--select',
848
+ class: classList,
841
849
  trigger: 'click',
842
850
  width: - 1,
843
851
  listen: true,
@@ -118,13 +118,17 @@
118
118
  }
119
119
 
120
120
  .n-select__body.n-virtual {
121
- min-height: 310px;
121
+ min-height: 210px;
122
122
  }
123
123
 
124
124
  .n-select__empty {
125
125
  text-align: center;
126
126
  }
127
127
 
128
+ .n-popover--select.n-virtual {
129
+ overflow: hidden;
130
+ }
131
+
128
132
  @each $suffix, $values in $form {
129
133
 
130
134
  $-select-font: map-get($values, 'font');