Browse Source

add missing ui update

Falko Schindler 2 năm trước cách đây
mục cha
commit
4be1863f44
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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):