-
-
Notifications
You must be signed in to change notification settings - Fork 2
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 lexeme form when new entry dialog opens #1368
Conversation
It probably only auto focuses when the element is created, so it may only work if the element is created after the dialog is show. But if they dialog renders the html when it's created (not shown) then it won't work. The dialog needs to render the editor when it's shown, you man be able to do that yourself with a simple #if |
Tried using an |
looks like there's a bug in svelte-ux, I've implemented a workaround for it |
08ba2f2
to
ec86c19
Compare
Looks like it's working now. Rebased on top of latest develop to test, then I'll mark the PR ready for review if it continues to work after rebasing. |
Fixes #1328
There appears to be a bug with the autofocus attribute in svelte-ux; @hahn-kev worked around the bug and now this is working.