Skip to content

RememberRetained retains state across back stack root resets #2088

@itsandreramon

Description

@itsandreramon

Shouldn't this only be possible with rememberSaveable? Retained should only persist across screen rotation etc. and not be related to navigation. I can try to provide a sample to reproduce this but this is what I noticed in 0.28.0.

Would be good if somebody could just check it if this is expected behaviour, otherwise i will provide a sample.

Update: Also restores on Navigator.pop()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions