It looks like there is some bug in ui fabric contextual menu. If user active the context menu with keyboard and dismiss with ESCAPE key, the dropdown button will keeping getting focus from input element.
Fix: not persist contextual menu in DOM tree and create new one when we need to show the menu.
Reproduce the bug without this fix.
1. Active contextual menu with keyboard.
2. Dismiss the contextual menu with ESCAPE.
3. Select rename from the contextual menu.
Actual result:
Dropdown button will get the focus
Expect result:
Input element will get the focus
* refactor: change predict disabled button style and form style
change predict disabled button style and form style. Change form valid border to color
grey and add margin to form buttons
* style: new line at eof
* refactor: change button theme
* Update arrayFieldTemplate.tsx
Co-authored-by: kunzheng <58841788+kunzms@users.noreply.github.com>
* feat: Add skip link
* style: change to style suggested by Randy
* refactor: refact code format
Co-authored-by: kunzheng <58841788+kunzms@users.noreply.github.com>
* fix: align input fields with delete button for app settings
align input fields with delete button for new security tokens added in application settings
* fix: undo removal of alignment for loading-container
Co-authored-by: kunzheng <58841788+kunzms@users.noreply.github.com>
* fix: change color of secondary text on connections page
change color of secondary text on connections page by changing the bootstrap
class used. Also, change the buttons on connections page to be
MS-Fabric-UI
issue-5965216
* fix: change color of buttons for contrast accessibility
change color of train page and predict page buttons for contrast accesibility and
refactor buttons to MS-UI-Fabric. Also, change progress icons to
MS-UI-Fabric progress spinners
issue-5969484
* style: remove spaces at eol
remove extra spaces at end of lines
* style: remove extra spacing at the eol
* refactor: change button and input colors on predict page
change button and input background-color and color for contrast
accessibility. Change buttons to MS-Fabric-UI buttons
issue-5969720
* style: remove extra lines
* style: remove extra lines
* style: remove extra lines
* style: add new line at end of file
* style: resolve tslint issues
Co-authored-by: kunzheng <58841788+kunzms@users.noreply.github.com>
* temp
* feat: Add tag type and format field
* refactor: Remove redundant code and file
* refactor: Remove comment
* fix:fix comments
* fix: fix tslint and comments
* fix: remove overflow and format fix
Co-authored-by: kunzheng <58841788+kunzms@users.noreply.github.com>
remove extra spcing when submitting project names. Remove spacing at
begining and end of project name. Remove additional spacing between tokens.
Saving projects with names "Project 1" and " Project 1 " should be
invalid
issue-6224766
Co-authored-by: kunzheng <58841788+kunzms@users.noreply.github.com>
resize all text fields and buttons to be 32px. Adjust text field label
margins to account for resized text fields and realign adjacent elements
issue-6222886
* refactor: replace icons with MS Fabric icons
replace tag toolbar rename icon and remove font awesome classes from tags
issue-6049115
* Update tagInputToolbar.tsx
Co-authored-by: kunzheng <58841788+kunzms@users.noreply.github.com>