-
Notifications
You must be signed in to change notification settings - Fork 54
'clicked' Event not working #24
Comments
From the documentation:
Note the use of
|
I've had the same problem on windows 7, 'clicked' doesn't seem to work but 'buttonClicked' does. |
The event buttonClicked works, but 'clicked' does not work. I need to make click in the notification without buttons. |
@agriguol if you run the playbook does the click example work? |
@blainesch - 'clicked' event does not work with playbook. You must to correct the 'swipedEvent' event (with a 'd') in the playbook. |
Operating system : Windows 10 Home Version 1511 |
I think I have reproduced this on a VM, but I'm having issues getting devtools open on the notification. I'll play around with this later tonight. Thanks for reporting it! |
I am able to consistently get devTools with Updating windowOptions to:
and adding
Not sure if you're having a general problem with devTools or just a specific one in that case. Hope this helps. |
I can re-produce it with palybook on windows 7 |
Any plans on merging this fix? |
@afriedma I have not found a way to fix this yet. |
I'm not clear on the issue here. Is it that we want to add a |
Yes, it used to work fine. Any clues, I can help out if you needed. |
@afriedma it's odd it would just stop, the behavior file hasn't been modified since it was created. The only thing that's changed recently was some css :/ |
May be because you made the browser window same size as HTML div? Click is not being propogated?
Cheers, Alex
…________________________________
From: Blaine Schmeisser <[email protected]>
Sent: Sunday, March 19, 2017 3:10:21 PM
To: blainesch/electron-notifications
Cc: afriedma; Mention
Subject: Re: [blainesch/electron-notifications] 'clicked' Event not working (#24)
@afriedma<https://github.com/afriedma> it's odd it would just stop, the behavior file hasn't been modified since it was created. The only thing that's changed recently was some css :/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#24 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AV7wm32vQHnZ1WWOLDubwY6U3k35UK69ks5rnX2dgaJpZM4MQNiV>.
|
What element was the For example, I noticed that the |
On my VM I looked at every major version with a playbook (v0.1.0 and higher) and none of them appear to work on Windows with the click event, so this isn't a regression. |
I just did some testing too, @blainesch you are correct, click event doesn't work on windows. |
Hello! I am working electron-notifications but 'clicked' and 'swipeRight' not working.
notification.on('clicked', () => {
console.log("Clicked");
notification.close();
})
The text was updated successfully, but these errors were encountered: