juliancwirko / react-s-alert

Alerts / Notifications for React with rich configuration options
https://www.npmjs.com/package/react-s-alert
MIT License
649 stars 75 forks source link

Default position not working #13

Closed nickredmark closed 8 years ago

nickredmark commented 8 years ago

I must be doing an obvious mistake. Using

<Alert onRouteClose={false} position="bottom" />

The alerts still appear on the top right.

juliancwirko commented 8 years ago

Hi, In the newest version 1.1.2 it should be fixed. Also remember that even when you have configured position on component it could be overwritten in single Alert method call. So you need to be sure that you don't overwrite it in method calls.

Anyway when I have:

<Alert position="bottom" />

and call like:

Alert.warning('Test warning!');

It works like it should.

nickredmark commented 8 years ago

Thanks it works now.