SnapLinksPlus icon indicating copy to clipboard operation
SnapLinksPlus copied to clipboard

<Shift+Left Click> problem

Open circcc opened this issue 4 years ago • 2 comments

If <Shift+Left Click> is specified, the function of selecting text in between does not work if you click one place and <Shift+Left Click> another when selecting text.

It worked until 3.1.8, but in 3.1.10 this feature doesn't work.

circcc avatar Sep 05 '21 05:09 circcc

I can see about fixing this in a future release. This is because SnapLinks went back to preventing the default for it's activation method.

For the time being I would suggest switching the activation method to something that doesn't conflict w/ the browsers default action.

cpriest avatar Sep 07 '21 16:09 cpriest

The solution here, is to have a map of "prevent default" events, such that preventDefault() is only called for certain modifier combinations such as no modifier + right click while allowing other combinations to go through as normal.

cpriest avatar Sep 07 '21 16:09 cpriest