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

Implement data-dragscroll-nested, data-no-dragscroll-nested #79

Open
Kasheftin opened this issue Jan 12, 2021 · 0 comments
Open

Implement data-dragscroll-nested, data-no-dragscroll-nested #79

Kasheftin opened this issue Jan 12, 2021 · 0 comments

Comments

@Kasheftin
Copy link

We heavily use vue-dragscroll in our application. There're a lot of draggable elements that should not trigger vue-dragscroll behavior. That's why we use vue-dragscroll:nochilddrag. Then, some elements should trigger vue-dragscroll, and there data-dragscroll attribute is in use.

The issue is the layout is quite complex, it consists on multiple nested containers, and vue-dragscroll:nochilddrag leads to the requirement to add data-dragscroll on every node. There's a drag-scroll table header with columns (data-dragscroll), every one has a title (data-dragscroll), the button (data-dragscroll) with the icon (data-dragscroll) etc.

It would be quite convenient to have something like data-dragscroll-nested that should propagate the behavior down to all the child nodes as well as data-no-dragscroll-nested for the reverse behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant