mediacube-ui 0.1.291 → 0.1.293

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
@@ -2,6 +2,10 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.293](https://github.com/MediaCubeCo/mcui/compare/v0.1.292...v0.1.293) (2024-07-12)
6
+
7
+ ### [0.1.292](https://github.com/MediaCubeCo/mcui/compare/v0.1.291...v0.1.292) (2024-07-11)
8
+
5
9
  ### [0.1.291](https://github.com/MediaCubeCo/mcui/compare/v0.1.290...v0.1.291) (2024-07-11)
6
10
 
7
11
  ### [0.1.290](https://github.com/MediaCubeCo/mcui/compare/v0.1.289...v0.1.290) (2024-07-11)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mediacube-ui",
3
- "version": "0.1.291",
3
+ "version": "0.1.293",
4
4
  "description": "Design system for Mediacube services",
5
5
  "author": "Mediacube",
6
6
  "private": false,
@@ -560,7 +560,8 @@ export default {
560
560
  break
561
561
  case 'bottom':
562
562
  ref.$refs.list.style.bottom = 'auto'
563
- ref.$refs.list.style.top = `${top + height}px`
563
+ // Добавляем к позиции отступ visualViewport?.offsetTop, который добавляет iOs при открытии вирутальной клавиатуры
564
+ ref.$refs.list.style.top = `${top + (window.visualViewport?.offsetTop || 0) + height}px`
564
565
  break
565
566
  }
566
567
  }
@@ -207,7 +207,7 @@ export default {
207
207
  return
208
208
  }
209
209
 
210
- if (this.tabs.length) {
210
+ if (this.tabs.length && !this.activeTab) {
211
211
  this.selectTab(this.tabs[0].hash)
212
212
  }
213
213
  },