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

[Bug]: The toast timer starts after you click on the toast #555

Closed
VovaGayduk42 opened this issue Dec 30, 2020 · 0 comments · Fixed by #554, newerton/gobarber-frontend#11 or newerton/gostack-modulo07#17
Assignees
Labels
bug Merged in next Merged but not live

Comments

@VovaGayduk42
Copy link

VovaGayduk42 commented Dec 30, 2020

Hello!
The bug was found

If you run a toast with these configurations:

closeOnClick: false,
pauseOnHover: true,

The toast timer stops after you hover on the toast. But it starts after you click/dbClick on the toast.
I would like to rule out this behavior, Thanks.

@VovaGayduk42 VovaGayduk42 changed the title The toast timer starts after you click on the toast [Bug]: The toast timer starts after you click on the toast Dec 30, 2020
@fkhadra fkhadra self-assigned this Jan 25, 2021
@fkhadra fkhadra added bug Merged in next Merged but not live labels Jan 25, 2021
fkhadra added a commit that referenced this issue Jan 25, 2021
@fkhadra fkhadra linked a pull request Jan 25, 2021 that will close this issue
fkhadra added a commit that referenced this issue Jan 25, 2021
## 💥 Breaking changes

- dependency to react-transition-group has been removed #514
- the `duration` parameter has been removed from `cssTransition`. Css animations just works now out of the box. Check the codesanbox below  
- the border-radius has been increased a bit

##  🚀 Features

- Css animation just works! 
[![View](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-toastify-animatecss-jxrx9?fontsize=14&hidenavigation=1&theme=dark&view=preview)

- add a way to load the CSS without a CSS loader
[![Edit react-toastify-inject-style](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-toastify-inject-style-qfg0l?fontsize=14&hidenavigation=1&theme=dark)
- specify swipe direction, close #512 . Thanks to @denydavy
[![Edit react-toastify-drag-y](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-toastify-drag-y-lh88i?fontsize=14&hidenavigation=1&theme=dark)
- bundle size reduced from ~7k to ~5k!
- remove the dependency on prop-types.

## 🐛 Bugfix

- fix #541 apply pauseOnFocusLoss on first render
- fix #538 react-dom should be a peer dep
- fix #530 change id generation
- fix #534 #483 toastId cannot be reused
- fix #511 by removing react-transition-group
- fix #550 Unable to select text inside inputs when a toast is open
- fix #555 The toast timer starts after you click on the toast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Merged in next Merged but not live
Projects
None yet
2 participants