fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Focus is lost on clicking message bar close button

Open mdmdakbar opened this issue 9 years ago • 2 comments

Priority: Medium

Products/sites affected: VSTS

Actual behavior: On clicking the message bar close button, the focus is lost.

Expected behavior: On clicking the message bar close button, focus should be on previously focused element in the page.

Please let me know if you need any more data on this issue. This issue is generic and happening in all places where message bar component is used.

mdmdakbar avatar Nov 07 '17 05:11 mdmdakbar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions to Fabric React!

stale[bot] avatar Apr 11 '18 07:04 stale[bot]

Hey @mdmdakbar , managing focus in this context sounds like an app-level concern, not something that'd be handled by Fabric. You should be able to re-assign focus where you need to with MessageBar's onDismiss. See "implementation" on MessageBar's docs site page. I'm going to go ahead and close this for now, but let me know if you feel there's a real issue with Fabric here.

Jahnp avatar Apr 11 '18 18:04 Jahnp