fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

FocusTrapZone elementToFocusOnDismiss prop should take in a function as well

Open mttwc opened this issue 8 years ago • 1 comments

Describe the feature that you would like added FocusTrapZone elementToFocusOnDismiss should take in a function that returns a HTMLElement in addition to its current functionality. Sometimes the element we want to focus on dismiss is only resolved after the render, e.g., a ref, so we don't have the element reference at the time we pass in the props into the FocusTrapZone.

What component or utility would this be added to FocusTrapZone

Have you discussed this feature with our team, and if so, who

Additional context/screenshots

mttwc avatar Aug 17 '18 18:08 mttwc

Because this issue has not had activity for over 150 days, we're automatically closing it for house-keeping purposes.

Still require assistance? Please, create a new issue with up-to date details.

msft-fluent-ui-bot avatar Apr 26 '21 17:04 msft-fluent-ui-bot