js-fileexplorer
js-fileexplorer copied to clipboard
mouserightclick FileExplorer Options
A boolean that indicates whether or not to capture right mouse button events (Default is true).
What is the rationale for this change? This line is suspect:
if (e.ctrlKey || e.target.tagName === 'INPUT' || (e.button == 2 && $this.settings.mouserightclick) || selectmodemulti)
If mouse right-click is disabled, a rename operation can be triggered via right-click under certain circumstances. I believe you intend the desired behavior to completely disable the right-click context menu but there shouldn't be side effects.
I'm not experiencing any issues with right-clicking in any major browser that would warrant disabling the feature.