Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI v2] Fix tab order in variable create dialog #16014

Merged
merged 1 commit into from
Nov 15, 2024

Conversation

desertaxle
Copy link
Member

@desertaxle desertaxle commented Nov 14, 2024

@aaazzam discovered that the tab order was messed up on the AddVariableDialog component. I tracked the issue down to the CodeMirror component, but I don't know why it messed it up.

Fortunately, @uiw/react-codemirror has a useCodeMirror hook that gives us more control over component creation. I used useCodeMirror to create a JsonInput component that doesn't have the same tab order foibles.

AddVarialbeDialog is now an upstanding citizen:
add-variable-dialog-tab-order

Related to #15512

@desertaxle desertaxle marked this pull request as ready for review November 14, 2024 15:03
@desertaxle desertaxle changed the title Fix tab order in variable create dialog [UI v2] Fix tab order in variable create dialog Nov 14, 2024
@aaazzam
Copy link
Collaborator

aaazzam commented Nov 15, 2024

:chefs-kiss:

@desertaxle desertaxle merged commit 2faeb9f into main Nov 15, 2024
12 checks passed
@desertaxle desertaxle deleted the ui-v2-fix-variable-dialog-focus branch November 15, 2024 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants