js-fileexplorer icon indicating copy to clipboard operation
js-fileexplorer copied to clipboard

mouserightclick FileExplorer Options

Open pablonunez opened this issue 1 year ago • 1 comments

A boolean that indicates whether or not to capture right mouse button events (Default is true).

pablonunez avatar Jul 02 '24 14:07 pablonunez

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.

cubiclesoft avatar Jul 02 '24 23:07 cubiclesoft