-
Notifications
You must be signed in to change notification settings - Fork 150
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
Text input is blurred when the toast shows up #238
Comments
I tried |
Thanks @agongdai will take a look ASAP. |
may I know what is the progress of this bug? We're struggling with this bug & need to switch to the old jquery-based plugin to work around |
This should be fixed by now, just pass
|
Will close but feel free to re-open if needed. |
@diegoddox actually there is a problem with those focuses still. if i have 2+ toasts, their autofocus propagate from closed one to remaining. #257. |
I am using latest version https://github.com/diegoddox/react-redux-toastr/releases/tag/v7.6.0 And the property toastr.success('In the beginning was the word', { doesn't work anymore did it change ? When the toaster appears it still takes the focus from the TextInput. |
@goxr3plus actually the latest version is 7.6.5 - https://github.com/diegoddox/react-redux-toastr/releases/tag/v7.6.5 |
just tested again with 7.6.5 and Chrome 92
issue is still the same when toaster appears it stills the focus from Text Input and makes it blur. Am i using wrong options ? The property |
conversation is now on #270 |
This library works great, except this case: codesandbox:
Basically, we want to let user keep typing in, and debouncedly call some API to update the input to database. Every time after an API call is successful, show the toast. However, whenever the toast is displayed, the text input is unfocused.
in the CodeSandbox demo, you can try to type in anything, and see what the problem is.
Thanks.
The text was updated successfully, but these errors were encountered: