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

Focus on text inputs when profile management modals are opened #1200

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

anttimaki
Copy link
Collaborator

nextTick method is used to ensure that the modals which us v-if are mounted before attempting to focus on them.

I would've liked to also support using enter key to trigger the action, but due to spaghetty modal reusage, that would require more refactoring effort than I'm willing to invest at this point.

nextTick method is used to ensure that the modals which us v-if are
mounted before attempting to focus on them.

I would've liked to also support using enter key to trigger the
action, but due to spaghetty modal reusage, that would require more
refactoring effort than I'm willing to invest at this point.
@anttimaki anttimaki merged commit e78f842 into develop Feb 8, 2024
4 checks passed
@anttimaki anttimaki deleted the profile-modal-input-focus branch February 8, 2024 07:28
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