f3oall/awesome-notifications

Can't override position option

Closed this issue · 1 comments

tgice commented

Hi, I may be missing something, but this does not seem to work as expected for me, using the latest awesome-notifications version:

let notifier = new AWN({ position: 'bottom-left' });

notifier.info('test', { position: 'bottom-right' });

It seems that trying to override position does not work. It always goes with whatever the original initialization was (I think even if you don't explicitly define one during instantiation).

I assume this is not working as designed. Any suggestions anyone?

Or anyone have a similar experience?

I tried to do a little troubleshooting by hacking away at src\options.js but didn't get very far due to limited experience with npm & webpack. I ran into a bunch of dependency problems that seem to suggest that some of the dependencies have moved on to differently-named libraries, etc. Plus this is the first time I've tried to recompile a JS project like this I think.

This is happening in Windows 10, in Firefox (Developer) 115.0b8 (64-bit), also on Chrome 114.0.5735.199 (64-bit), using awesome-notifications 3.1.3, installed with npm (version retrieved by npm version within the awesome-notifications directory).

tgice commented

dupe of #55, sorry I missed it. Delete this one if you can.