@everchron/ec-shards 4.4.1 → 4.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "4.4.1",
3
+ "version": "4.4.3",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -96,7 +96,6 @@ export default {
96
96
  } else {
97
97
  this.top = event.pageY - 2
98
98
  }
99
-
100
99
  this.opened = true
101
100
  },
102
101
 
@@ -151,7 +150,7 @@ export default {
151
150
  padding: 0;
152
151
  display: none;
153
152
  list-style: none;
154
- position: absolute;
153
+ position: fixed;
155
154
  z-index: 1000000;
156
155
  border-radius: $border-radius-medium;
157
156
  background: rgba(255, 255, 255, 0.94);
@@ -21,7 +21,7 @@ export const contextMenu = () => ({
21
21
  <ecs-data-grid-head-cell name="Fourth" :width="200" />
22
22
  </template>
23
23
 
24
- <ecs-data-grid-row v-for="index in 6" :key="index" mouse-event="contextmenu" @click="(e) => handleClick(e, index)">
24
+ <ecs-data-grid-row v-for="index in 60" :key="index" mouse-event="contextmenu" @click="(e) => handleClick(e, index)">
25
25
  <ecs-data-grid-cell column="first" :width="200">Right click me</ecs-data-grid-cell>
26
26
  <ecs-data-grid-cell column="second" :width="200">Right click me</ecs-data-grid-cell>
27
27
  <ecs-data-grid-cell column="third" :width="200">Right click me</ecs-data-grid-cell>
@@ -63,6 +63,7 @@ export const contextMenu = () => ({
63
63
  },
64
64
  methods: {
65
65
  handleClick(event, item) {
66
+ console.log(this.$refs)
66
67
  this.$refs.contextMenu.showMenu(event, item)
67
68
  }
68
69
  },