浏览代码

add missing ui update

Falko Schindler 2 年之前
父节点
当前提交
4be1863f44
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      nicegui/elements/markdown.py

+ 1 - 0
nicegui/elements/markdown.py

@@ -21,6 +21,7 @@ class Markdown(Html):
         # we need explicit markdown styling because tailwind css removes all default styles
         html = Markdown.apply_tailwind(html)
         super().set_content(html)
+        self.update()
 
     @staticmethod
     def apply_tailwind(html: str):