Skip to content

Support rendering StatefulWidgets to tui-scrollview #64

@joshka

Description

@joshka

In https://discord.com/channels/1070692720437383208/1349490139797393470 a user asked

Hi everyone. I can't figure out how to make tui-nodes work with the scroll widget or the tui-scrollview crate.

This is because Tui-Scrollview doesn't support rendering stateful widgets.

Add a new method ScrollView::render_stateful_widget<W: StatefulWidget>(&mut self, widget: W, area: Rect, state: &mut W::State) which should be similar to render_widget.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions