Closed lounge-act closed 1 year ago
Hello,
backOverlayClickToClose
is not an option for the Notify module.
https://github.com/notiflix/Notiflix#notiflix-notify-module-default-options
It is for the Report module. https://github.com/notiflix/Notiflix#notiflix-report-module-default-options
Thanks.
Describe the bug
option
backOverlayClickToClose
not workingTo Reproduce
Steps to reproduce the behavior:
import Notiflix from 'notiflix'
Notiflix.Notify.init({ ID: 'my-project-notice', className: 'my-project-notiflix', fontFamily: 'Poppins', backOverlay: true, backOverlayClickToClose: true, success: { background: '#009b73', textColor: '#d9dce9', notiflixIconColor: 'rgba(0,0,0,0.5)' }, failure: { background: '#ff4b4b', textColor: '#131316', notiflixIconColor: 'rgba(0,0,0,0.5)' }, cssAnimationStyle: 'from-right' })
Notiflix.Notify.success("my message")
Expected behavior
When I click anywhere in on the overlay, I expect it to close.
Desktop (please complete the following information):
Smartphone (please complete the following information):
not tested on any smartphone