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

Move draggable logic to a single element #3

Closed

Conversation

angusmcleod
Copy link
Contributor

The theme component currently has two "draggable" elements (.card-component and it's anchor element). This consolidates the logic into the component itself.

This has the benefit of giving us greater control over the route to the topic, i.e. using the click event instead of the anchor element's href. In doing so, it prevents a bug I've been experiencing: routing to the topic when a card is dropped.

The theme component currently has two draggable elements (.card-component and it's anchord element). This consolidates the logic into the component itself.

This has the benefit of giving us greater control over the route to the topic itself, i.e. using the click event instead of the anchor element's href.
@davidtaylorhq
Copy link
Member

davidtaylorhq commented Jul 22, 2019

This looks good, but there are a couple of merge conflicts following the tags PR. Please can you resolve them @angusmcleod, then I'll get it merged?

@davidtaylorhq
Copy link
Member

Merged in 61556be. Thanks @angusmcleod

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