-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch label text selection and cue for dragging #599
base: master
Are you sure you want to change the base?
Conversation
@jburel @Tom-TBT : sorry, I can see just the bug behaviour. This is because this PR is not in the merge
|
I have added the |
Tested in FF and Chrome FF, Mac, release version (without this PR):
Chrome, Mac, release version (without this PR):
FF, Mac, with this PR (merge-ci):
Chrome, Mac, with this PR (merge-ci)
In summary, my claim would be that
In summary, I am sorry to recommend rejection of this PR. Happy to discuss, imho the mistake happened when the swapping functionality was introduced -> this is not a crucial bit of functionality, and I agree that mouse selection of the text is more important. I understand this was not tested in FF prior to release and thus released with a regression. Possibly the thinking on this PR is to "supress" or "degrade" the swap functionality (in all browsers) in favor of salvaging the FF experience for mouse text selection. If this is the case, then this PR has value imho, but almost certainly the authors/users of the swapping feature will be hit hard. Bearing in mind the above, what is your take on it @Tom-TBT please ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address the comments from the testing ^^^. Thank you
Recommended bootstrap icon for indicating that it can be grabbed: https://icons.getbootstrap.com/icons/grip-horizontal/ I also saw those, but their meaning is not "can be grabbed": |
Agreed.
Yes it does. Plenty of space . Both FF and Chrome.
I would suggest the word Thanks. a lot |
oh, well
I am in favor of the double arrow. I understand that it does not suggest "Grab and drag". But to be honest, those 10 dots in 2 rows (the second choice) suggests absolutely nothing to me. What I can sometimes see is an icon with a hand (which suggests "grab"). Is there one available ? (fine if not or too hard)
Yes and yes.
sure |
I have a slight preference for |
I changed the opacity and the grab cursor. I updated the bootstrap-icons to 1.11 in case, arrows-vertical is only here since 1.10. |
I do think that this PR is included in today's build.
the new features (improved behaviour in FF on text selection using mouse) is present. |
lgtm. I would think we should also try Windows (definitely Edge) in order not to miss anything. Can you @Tom-TBT or your colleagues provide that Windows test please ? |
I tested it on Windows with:
Can be merged from my side. |
Hello,
that's a patch from an issue we saw with the drag and drop sorting of the label.
It became impossible to select text with the mouse cursor (triggers the drag of the label html element), and with Firefox the cursor always goes to the beginning of the input.
I found the description of the issue and the fix here:
SortableJS/Sortable#972 (comment)