You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2021. It is now read-only.
fix(Modal): add support for primary focus selector prop (#1124)
* fix(Modal): add support for primary focus selector prop
* docs(ModalWrapper): add example of `selectorPrimaryFocus` in use
* refactor(Modal): rename parameter to be in line with current convention
* chore(ModalWrapper): update snapshot
The 'selectorPrimaryFocus' prop can be used to focus on any single element when the modal is opened. The example shows an input field being focused on modal open, rather than the default behavior of focusing on the 'Save' button.
160
+
`,
161
+
()=>(
162
+
<ModalWrapper
163
+
id="input-modal"
164
+
buttonTriggerText="Input Modal"
165
+
modalHeading="Modal with inputs and custom focus selector"
0 commit comments