[Calendar] Added resize on focus

This commit is contained in:
Matej Glasnák committed 2022-12-13 00:32:31 +01:00
1 parent a3beddf1e9
commit 5f75b397d1
1 file changed
+3 -4
@@ -128,6 +128,7 @@ export default {
}, },
async eventMoved(e) { async eventMoved(e) {
this.focusedEventId = e.event.id
this.$emit('eventMoved', e) this.$emit('eventMoved', e)
}, },
@@ -179,7 +180,8 @@ export default {
eventFocused(event) { eventFocused(event) {
this.focusedEventId = event.task_id this.focusedEventId = event.task_id
} console.log(`Focused: ${event.task_id}`)
},
} }
} }
</script> </script>
@@ -193,7 +195,6 @@ export default {
padding-top: 50px padding-top: 50px
&:deep() &:deep()
.vuecal__cells .vuecal__cells
-ms-overflow-style: none -ms-overflow-style: none
scrollbar-width: none scrollbar-width: none
@@ -338,6 +339,4 @@ export default {
.event-footer .event-footer
border-top: 1px solid rgba(255, 255, 255, 0.19) border-top: 1px solid rgba(255, 255, 255, 0.19)
</style> </style>