Open EihaChin opened 3 months ago
Hello. I tried the code below with localhost, but it didn't seem to work. The whole tree did not be displayed well after some clicks.
But I also did the same operation on the web demo and the just no problem at all. Is there any idea?
import streamlit_antd_components as sac sac.tree(items=[ sac.TreeItem('item1', tag=[sac.Tag('Tag', color='red'), sac.Tag('Tag2', color='cyan')]), sac.TreeItem('item2', icon='apple', description='item description', children=[ sac.TreeItem('tooltip', icon='github', tooltip='item tooltip'), sac.TreeItem('item2-2', children=[ sac.TreeItem('item2-2-1'), sac.TreeItem('item2-2-2'), sac.TreeItem('item2-2-3'), ]), ]), sac.TreeItem('disabled', disabled=True), sac.TreeItem('item3', children=[ sac.TreeItem('item3-1'), sac.TreeItem('item3-2'), ]), ], label='label', index=0, align='center', size='md', icon='table', open_all=True, checkbox=True)
test.webm
Here is my environment. python: 3.10.0 streamlit: 1.37.1 streamlit-antd-components: 0.3.2
Hello. I tried the code below with localhost, but it didn't seem to work. The whole tree did not be displayed well after some clicks.
But I also did the same operation on the web demo and the just no problem at all. Is there any idea?
test.webm
Here is my environment. python: 3.10.0 streamlit: 1.37.1 streamlit-antd-components: 0.3.2