Skip to content

Commit

Permalink
feat: use offsetHeight instead of clientHeight
Browse files Browse the repository at this point in the history
  • Loading branch information
setaman committed Jan 9, 2022
1 parent d20d970 commit 15c4b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/VueEllipseProgress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default {
},
mounted() {
this.$nextTick(() => {
this.legendHeight = this.$refs.legend.clientHeight;
this.legendHeight = this.$refs.legend.offsetHeight;
});
},
};
Expand Down

0 comments on commit 15c4b16

Please sign in to comment.