fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Panel OnDismiss is called twice

Open dcowen91 opened this issue 7 years ago • 2 comments

Environment Information

  • Package version(s): Latest (6.165.1)
  • Browser and OS versions: Chrome 73, Windows 10

Please provide a reproduction of the bug in a codepen:

https://codepen.io/anon/pen/vMmoJR?&editable=true

Actual behavior:

When closing a panel, the onDismiss function is called twice. Once before dismissing and once after.

Expected behavior:

OnDismiss is only called once.

Priorities and help requested:

Are you willing to submit a PR to fix? No Requested priority: Normal

dcowen91 avatar Apr 11 '19 18:04 dcowen91

@dcowen91 Thanks for submitting this issue and for including the codepen! This looks like it's a problem, I'll dig into a bit more and see if I can figure out why!

joschect avatar Apr 11 '19 19:04 joschect

:tada:This issue was addressed in #8710, which has now been successfully released as [email protected].:tada:

Handy links:

msft-github-bot avatar Apr 16 '19 12:04 msft-github-bot