Open shakiba opened 6 years ago
s-alert-default.css
is mandatory
This is what I had and did not disappear:
import 'react-s-alert/dist/s-alert-default.css';
import 'react-s-alert/dist/s-alert-css-effects/scale.css';
<Alert effect='slide' html={true} offset={50} position='top-right' stack={ { limit: 3 } } timeout={5000} />
there is 'scale' in imports and 'slide' in configuration. This is probably why. There is probably some fallback needed for such situation.
Alert box not hiding if appropriate style file is not loaded.