Content-Length: 284627 | pFad | http://github.com/material-vue/material-vue/commit/620566d3c322e9fe821d8f1920a1232763f4d545

7A fix: updates is show state · material-vue/material-vue@620566d · GitHub
Skip to content

Commit 620566d

Browse files
author
Корпусов Максим
committed
fix: updates is show state
1 parent 4cfb1d1 commit 620566d

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

lib/src/components/transitions/MEnterExit.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</template>
1515

1616
<script setup>
17-
import { onMounted, ref, watch } from 'vue'
17+
import { onMounted, ref, useSlots, watch } from 'vue'
1818
import { EASING } from '../../utils/motion.js'
1919
2020
const props = defineProps({
@@ -53,5 +53,14 @@ onMounted(() => {
5353
},
5454
{ immediate: true }
5555
)
56+
57+
watch(
58+
() => slots.default(),
59+
() => {
60+
grow.value.style.maxHeight = 'unset'
61+
}
62+
)
5663
})
64+
65+
const slots = useSlots()
5766
</script>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/material-vue/material-vue/commit/620566d3c322e9fe821d8f1920a1232763f4d545

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy