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

autoFocus attribute for block elements #253

Closed
yhatt opened this issue Nov 25, 2021 · 0 comments · Fixed by #254
Closed

autoFocus attribute for block elements #253

yhatt opened this issue Nov 25, 2021 · 0 comments · Fixed by #254
Labels
enhancement New feature or request

Comments

@yhatt
Copy link
Owner

yhatt commented Nov 25, 2021

Today Slack has added focus_on_load field to JSON, to focus to the specific element automatically when opening the modal or the home tab.
https://api.slack.com/changelog
https://api.slack.com/reference/block-kit/block-elements#checkboxes

jsx-slack should support this field through the React/HTML compatible attribute autoFocus (autofocus).

@yhatt yhatt added the enhancement New feature or request label Nov 25, 2021
@yhatt yhatt linked a pull request Dec 2, 2021 that will close this issue
@yhatt yhatt closed this as completed in #254 Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant