Skip to content

Commit

Permalink
fix EChart layout issue (see #2932)
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Aug 30, 2024
1 parent 0cdb4ea commit 2da15db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nicegui/elements/echart.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { convertDynamicProperties } from "../../static/utils/dynamic_properties.
export default {
template: "<div></div>",
async mounted() {
await this.$nextTick(); // wait for Tailwind classes to be applied
await new Promise((resolve) => setTimeout(resolve, 0)); // wait for Tailwind classes to be applied
if (this.enable_3d) {
await import("echarts-gl");
}
Expand Down

0 comments on commit 2da15db

Please sign in to comment.