solara
solara copied to clipboard
[Feature Request] Create a solara component for a scrollable text area
Often times you want a scrollable text area for markdown, text, sql, code, anything really. You should be able to do something like
with sl.Scrollable(max_height="500px"):
sl.Markdown("## Hi")
sl.Markdown(<some_long_text>)
or something similar. Currently, I need to do this, which would be nearly impossible to figure out for a new user
import reacton.ipyvuetify as v
with sl.Card():
card_md = v.Container(
style_=(
"height: 700px; overflow-y: scroll;"
)
)
card_md.add_children([sl.Markdown(my_content)])