Skip to content

Commit

Permalink
[Content] Auto-select first field when popup opens (#3060)
Browse files Browse the repository at this point in the history
Resolves #3007 

### Preview

[screen-recorder-mon-nov-18-2024-11-16-12.webm](https://github.com/user-attachments/assets/f368ad2c-4bb0-4540-80f9-33ca8b3bf1d4)
  • Loading branch information
finnar-bin authored Nov 20, 2024
1 parent 9c99bf4 commit edd2ebe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shell/components/withAi/AIGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ export const AIGenerator = ({
}
placeholder="e.g. Freelancers, Designers, ....."
fullWidth
autoFocus
/>
</Box>
<Box>
Expand Down Expand Up @@ -722,6 +723,7 @@ export const AIGenerator = ({
multiline
rows={3}
fullWidth
autoFocus
error={hasFieldError}
helperText={
hasFieldError &&
Expand Down

0 comments on commit edd2ebe

Please sign in to comment.