Skip to content

Components don’t render on pages other than 0 when the renderer isn’t passed. #2965

@Sahil-Chhoker

Description

@Sahil-Chhoker

Describe the bug
Components doesn't render on solara web view if their page is anything other than 0 and renderer is not passed. Most likely, this happens because the renderer acts as an anchor that is always on page 0, and the pages are calculated relative to it.

Expected behavior
Component should render on any page that is specified, the existence of any pages before or after it should not matter.

Currently it opens up the numbered page with nothing on it, it should plot the respective component on that page.

To Reproduce
Take any example and try to set page of plot component to anything other than 0 and remove renderer from SolaraViz. Or try to pass any custom component with page number other than 0 in absence of renderer.

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