joni2back / angular-filemanager

JavaScript File Manager Material Design Folder Explorer Navigator Browser Manager in AngularJS with CSS3 Responsive (with FTP in PHP / Java / Node)
https://joni2back.github.io/angular-filemanager/
MIT License
1.76k stars 577 forks source link

context menu issue on Firefox and Safari #346

Open dimitargnikolov opened 6 years ago

dimitargnikolov commented 6 years ago

The context menu doesn't work properly in Firefox and Safari. If I control-click on my Mac, the menu opens but is immediately closed because of the 'click' handler in app.js, which hides it immediately.

In Chrome, that click handler is never triggered after the contextmenu handler is triggered, but in Firefox and Safari, the click handler does get triggered. This can be verified on the demo site here: https://angular-filemanager.zendelsolutions.com/

Do you see an quick fix for this?

Other angularjs contextmenu examples are structured differently.

vlcinsky commented 6 years ago

I can confirm the issue.

Temporary workaround for user is rightlick and hold the button, then select the item in the menu.