@mixd-id/web-scaffold 0.1.230406234 → 0.1.230406235

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406234",
4
+ "version": "0.1.230406235",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -51,7 +51,7 @@ export default{
51
51
 
52
52
  gap: {
53
53
  type: [ String ],
54
- default: 'gap-6'
54
+ default: 'gap-0'
55
55
  },
56
56
 
57
57
  items: Array,
@@ -232,9 +232,16 @@ export default{
232
232
  this.resize()
233
233
  },
234
234
 
235
- items(to){
236
- this.resize()
237
- },
235
+ items: {
236
+ deep: true,
237
+ handler(to, from){
238
+ if((to ?? []).length !== (from ?? []).length){
239
+ this.scrollTop = 0
240
+ }
241
+
242
+ this.resize()
243
+ }
244
+ },
238
245
 
239
246
  }
240
247