Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presentable allowStepWhenDismissed is ignored and overridden with parent flow #196

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mashe
Copy link
Contributor

@mashe mashe commented Nov 21, 2024

Description

Recently, I noticed that presentables (not flows) utilises parent flow allowStepWhenDismissed instead of its own property.
It may lead to a scenario where stepper and presentable are unexpectedly held in the memory until the parent flow is released.
I doubt if it is an intended behaviour.

The PR fixes it.

Checklist

  • this PR is based on develop or a 'develop related' branch
  • the commits inside this PR have explicit commit messages
  • the Jazzy documentation has been generated (if needed -> Jazzy RxFlow)

@mashe mashe requested a review from twittemb November 21, 2024 08:57
@mashe
Copy link
Contributor Author

mashe commented Nov 21, 2024

@twittemb would be very nice, if you find some time to have a look

@mashe
Copy link
Contributor Author

mashe commented Dec 2, 2024

@mgray88 is there chance that you can help me instead?

@mgray88
Copy link
Collaborator

mgray88 commented Dec 3, 2024

@mashe Hi, sorry I got caught up in other things. Is this related to #181? And could you potentially add a test case for this?

@mgray88 mgray88 requested review from mgray88 and removed request for twittemb December 3, 2024 18:43
@mgray88 mgray88 added the bug label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants