Skip to content
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

Sortable in new version of QB drag by full row #662

Closed
landy2005 opened this issue Mar 26, 2018 · 2 comments
Closed

Sortable in new version of QB drag by full row #662

landy2005 opened this issue Mar 26, 2018 · 2 comments
Labels
bug Identified bug which needs a fix
Milestone

Comments

@landy2005
Copy link

In previous version of QB (2.4.x) with sortable plugin, rows dragged by click on icon.
But in latest version (2.5) rows dragged by click on any place in row.

This produce some troubles (especially with selects).
When select with long list and try to click on scrollbar, than row dragged (instead scroll list).

Possible to return old behavior or make option for this plugin (ie drag_by_icon)?

@landy2005 landy2005 changed the title Sortable in new version of QB is full row Sortable in new version of QB drag by full row Mar 26, 2018
@mistic100
Copy link
Owner

mistic100 commented Mar 26, 2018

Can you try to rename "allowForm" into "allowFrom" here https://github.com/mistic100/jQuery-QueryBuilder/blob/dev/src/plugins/sortable/plugin.js#L52 ?

If this works I'll release a fix tonight.

@mistic100 mistic100 added the bug Identified bug which needs a fix label Mar 26, 2018
@mistic100 mistic100 added this to the 2.5.1 milestone Mar 26, 2018
@landy2005
Copy link
Author

Yep, that fix issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identified bug which needs a fix
Projects
None yet
Development

No branches or pull requests

2 participants