Open chowarth opened 3 years ago
I think this might be fixed in #1362. I noticed there was some odd behaviors around light dismiss vs regular dismiss and I added some code to resolve these problems. @chowarth can you take a look at the PR or pull it down and see if it is fixed there
@ahoefling it does appear to have been fixed by #1362 👍🏼
Description
When closing a popup on UWP using the
Dismiss
method theLightDismiss
method is also invoked.Steps to Reproduce
PopupRenderer.uwp.cs
file and add a breakpoint at line 263:Element.LightDismiss();
Expected Behavior
The breakpoint on line 263 will not be hit and continuing execution will not invoke
LightDismiss
.Actual Behavior
The breakpoint on line 263 will be hit and continuing execution will invoke
LightDismiss
.Basic Information
1.1.0
N/A
Workaround
None found
Potential Solution
isDismissing
flagtrue
beforeHide
is invokedfalse
afterHide
is invokedOnClosing
to ensure thatElement.LightDismiss()
is only invoked whenisDismissing
isfalse