When i right-click for the first time, everything works fine. But if i right-click again, the browser contextual menu is shown.
I guess it's because the menu it's already open.
Fixed adding data-toggle="context". The docs are not clear on this point: data-toggle="context" is advised only for implementation by data attributes, but i had to use it with Javascript implementation.
When i right-click for the first time, everything works fine. But if i right-click again, the browser contextual menu is shown. I guess it's because the menu it's already open.