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

How to make it so when toast shows up, the focus from active <input is not dropped? #97

Open
nikitavoloboev opened this issue Dec 27, 2023 · 1 comment

Comments

@nikitavoloboev
Copy link

Replication of issue in video:

CleanShot.2023-12-27.at.14.48.21.mp4

The code for above case is here: https://github.com/learn-anything/learn-anything.xyz/blob/dev/website/src/routes/profile.tsx#L84

I am not sure how to make it so the focus from <input is not dropped when toast shows up.

@HyaCiovo
Copy link

HyaCiovo commented May 8, 2024

You have clicked the 'Save' button, so the input tag lost focus.
🧐 I think this is normal situation, and has nothing to do with this library.
Or you can always keep the input tag focused in the event you bind to the save button ?

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

No branches or pull requests

2 participants