You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug while trying to start dragging. The user can accidentally select one pane content, if he is fast enough.
In Firefox, if the user goes to the edge of the split and drag fast enough, he may be able to select (wasn't happen in Edge.) Here is a demo in Firefox:
splitpane-selection-issue.mov
The user is unable to select it after the "first frame" of the dragging, because of the following lines in the css conf:
However, the user can do on the "first frame" (in Firefox at least) if he is fast enough. The reason is bacause
The reason it happen is because this.touch.dragging is set to true only in:
but rather should be set to true starting from onMouseDown.
This way, the browser would immediately forbid the user to select the panes, and wouldn't wait for the next onMouseMove event.
The text was updated successfully, but these errors were encountered:
There is a bug while trying to start dragging. The user can accidentally select one pane content, if he is fast enough.
In Firefox, if the user goes to the edge of the split and drag fast enough, he may be able to select (wasn't happen in Edge.) Here is a demo in Firefox:
splitpane-selection-issue.mov
The user is unable to select it after the "first frame" of the dragging, because of the following lines in the css conf:
splitpanes/src/components/splitpanes/splitpanes.vue
Lines 690 to 706 in adc5096
and the following css def:
splitpanes/src/components/splitpanes/splitpanes.vue
Lines 719 to 727 in adc5096
However, the user can do on the "first frame" (in Firefox at least) if he is fast enough. The reason is bacause
The reason it happen is because
this.touch.dragging
is set totrue
only in:splitpanes/src/components/splitpanes/splitpanes.vue
Lines 89 to 97 in adc5096
but rather should be set to
true
starting fromonMouseDown
.This way, the browser would immediately forbid the user to select the panes, and wouldn't wait for the next
onMouseMove
event.The text was updated successfully, but these errors were encountered: