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
Allow to enter data into any search field after dragging #3272
Conversation
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.
To test:
Drag and drop should no longer start when hovering over an input field or a button
When starting drag when hovering over other elements in a line, query line should not get duplicated or stuck
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.
Able to drag query line when hovering over a button and input field.
6Ur4yfBNr6.mp4
YHHVtyJjKa.mp4
https://coldfish-issue-3269.test.specifysystems.org/specify/query/128/
Drag and drop when hovering over list boxes was allowed because it didn't cause bugs (in our testing) |
@realVinayak don't forget to reject the commit in such cases. That then gives owners of the PR option to request a re-review when they fix an issue which would send you a notification |
specifyweb/frontend/js_src/lib/components/QueryBuilder/Fields.tsx
Outdated
Show resolved
Hide resolved
specifyweb/frontend/js_src/lib/components/QueryBuilder/Fields.tsx
Outdated
Show resolved
Hide resolved
Also, sometimes, when using drag in the dialog, the field lines sometimes jump outside of the dialog. Like this: |
Out of scope for this release as we don't have time and the fix is not trivial |
Extensively tested this, works for me. @chanulee1 can you do another round and see if you catch anything weird related to this PR? |
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.
Did not find anything weird. Cannot drag query lines by buttons or inputs.
Fixes #3269