소스 검색

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):