Paul-DS / bootstrap-year-calendar

[DEPRECATED] A fully customizable year calendar widget, for boostrap !
Apache License 2.0
293 stars 243 forks source link

09wattry/contextmenu unix fix #254

Closed wattry closed 5 years ago

wattry commented 5 years ago

This resolves issue 3 which I was able to reproduce on MacOS (10.14) and Debian (Ubuntu 18.04) type systems. When secondary clicking the context menu disappears when the click is let go. This makes the context menu unusable. I believe this had to do with the way the one method handles a mouse up event.

This issue was carried in from the bootstrap-year-calendar and hopefully, this resolves this it. I will need someone with a Windows machine to test that this does not break.