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

Don't steal focus to the type input field if autofocus is set to "text" #7816

Closed
wants to merge 4 commits into from

Conversation

BurningTreeC
Copy link
Contributor

Another try making this PR happen

@vercel
Copy link

vercel bot commented Oct 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
tiddlywiki5 ✅ Ready (Inspect) Visit Preview Oct 26, 2023 4:36pm

@BurningTreeC
Copy link
Contributor Author

yay!

@BurningTreeC
Copy link
Contributor Author

Hello @Jermolene

This PR now builds fine
Are there occasions where we want autofocus if we're not in a browser?

@Jermolene
Copy link
Member

Hi @BurningTreeC I'm concerned that this approach is not backwards compatible. Would it be possible to use a dynamic value for the autofocus attribute in this case?

@BurningTreeC
Copy link
Contributor Author

Hello @Jermolene - what do you mean by dynamic value for the autofocus attribute?

@Jermolene
Copy link
Member

Hi @BurningTreeC it looks like this PR is attempting to apple an additional condition governing the setting of autofocus. I wonder if that can be done in wikitext instead.

@BurningTreeC BurningTreeC deleted the patch-66 branch March 29, 2024 15:36
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