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
Changed Cocoa activation to trigger on WillAppear instead of DidAppear. #779
Conversation
Fixes #778 WillAppear allows activation to take place before the view is displayed. This means that handlers or visual components can get into place and transition into view. Otherwise, DidAppear creates a window of inactivity where an animated view may appear void of activation until it's fully in view.
I need to go through all of the controllers to see if one was missed |
Hey Paul, any update on whether you think this is a viable change? |
+1 |
Any update on this? |
Still on my list, sorry I'm stalling forever |
Just checking in. Any chance this might see a review before the next ReactuveUI release? |
Any update on this @paulcbetts? I'm just getting started with ReactiveUI on iOS, but if I create bindings in |
I think there's a related issue with This is my first day using ReactiveUI, so apologies if I'm doing something stupid :) |
@paulcbetts, any update on this? In a few more weeks it'll be this PR's one year aniversary |
And we're now one day away from the one year anniversary... @paulcbetts Any reason this hasn't been merged yet (apart from time needed to do it)? It's quite broken as it is, and this PR fixes it, without any obvious downsides. |
I've got an alternate version of the changes here: https://github.com/tgjones/ReactiveUI/commit/e5b7ff3dca3ba9890f9c334a2c2eff54a21cae6a. This includes the fix for |
Spoke with @paulcbetts, this PR makes the change to a few of the classes but in order to merge it needs to change all of them. If you could add a few commits then we can go about merging. ps. right now we can't produce a build until #993 is resolved. |
@ghuntley, thanks for following up with this PR. Any idea what classes this PR is missing? I'm pretty sure this PR has been 100% ready to roll since it was posted. Even today, I cannot find any additional classes that require modification. To the contrary, it looks like newer classes, such as ReactiveNavigationController.cs, added some time after this PR, actually implements it's activation in the I know this is not on you since you just got involved in this, but, the fact that newer classes have been added which implicitly fix this issue while the older classes have been pending on this PR for a year now is less than ideal. |
@ghuntley @thedillonb As I mentioned above, to be complete, this PR should include the |
Superseded by #1182, which I plan to merge shortly. So sorry this has taken so long, all. |
My original thought was that activation/deactivation should trigger off of the
Will
events instead of theDid
. However, I think the deactivation makes sense to keep on theDid
since you don't technically want to deactivate a component that may be animating offscreen - It has the potential to look weird if deactivation is tied to some visual component.Fixes #778