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

Fix 'focus the compose textarea' shortcut is not working #29059

Merged
merged 1 commit into from Feb 2, 2024

Conversation

eai04191
Copy link
Contributor

@eai04191 eai04191 commented Feb 2, 2024

Due to changes made in #28119, .compose-form__autosuggest-wrapper has been removed. As a result, the shortcut key to move to the post input field is not working. This is because we relied on the class name mentioned above to get the input field for the post.

When I read the code, it seems that the input field always has the class name .autosuggest-textarea__textarea, so I'll change it to use this to look for the input field.

I know this is not an elegant fix, but it should work.

@Gargron Gargron added this pull request to the merge queue Feb 2, 2024
Merged via the queue into mastodon:main with commit 3c315a6 Feb 2, 2024
27 checks passed
@eai04191 eai04191 deleted the fix-focus-the-compose-textarea branch February 2, 2024 08:42
Ember-ruby pushed a commit to Ember-ruby/mastodon-glitch that referenced this pull request Mar 19, 2024
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.

None yet

2 participants