Skip to content

Support nested horizontal scrollviews? #22

Description

@X-Wei

From the doc it's stated that "the Selectable widget must be a descendant of the scrollable widget" in order to work. So I shall wrap Selectable around MarkdownBody but under a SingleChildScrollView for selectable to work (i.e. SingleChildScrollView -> Selectable -> MarkdownBody), example code.

However, if there are code blocks inside the markdown source, they are rendered as a horizontal scrollview, and selectable will not work well for that area. E.g. if I horizontally scroll then try to select, it selects the text that were in that position before the scroll happens.

Is there any workaround to make it work better for the nested srcollables?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions