Popup V2 closing animation #2773
Bludator
started this conversation in
New Feature Discussions
Replies: 1 comment 1 reply
-
The events exist on the Popup class which you can still use. They do not exist for the ContentView approach. I'll update the docs to highlight they belong to the Popup class. That being said I'm not sure the Opened or Closed events will allow you to handle the animations but I'd love to know if they do |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to animate the opening and closing of the popup.
For an initialization and cleanup I can use the events of the View I am passing into the popup. For example
Loaded
andUnloaded
. TheLoaded
orPopup.Opened
events could be also used for the opening animation. But these are not usable for closing animation because they are not blocking (they will not wait to the animation to finish and remove the popup) or just too late (popup is already destroyed). This is problem with dismiss (clicking outside of the popup) as I have no control over it.I imagine there would be option in the
PopupOptions
where I would set the async handler with my animations.Beta Was this translation helpful? Give feedback.
All reactions