Skip to content

Commit 5e04c48

Browse files
author
Kenneth Cheng
committed
fix style of undefined error
1 parent a28eb11 commit 5e04c48

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue3-excel-editor",
33
"email": "apple.6502@gmail.com",
44
"description": "Vue3 plugin for displaying and editing the array-of-object in Excel style",
5-
"version": "1.0.51",
5+
"version": "1.0.52",
66
"main": "src/main.js",
77
"dependencies": {
88
"@vuepic/vue-datepicker": "^3.3.0",

src/VueExcelEditor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1787,6 +1787,7 @@ export default defineComponent({
17871787
outerElement = outerElement.parentElement
17881788
}
17891789
if (outerElement) {
1790+
const style = getComputedStyle(outerElement)
17901791
bottomOffset += parseInt(style.paddingBottom)
17911792
bottomOffset += parseInt(style.borderBottomWidth)
17921793
}

0 commit comments

Comments
 (0)