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

Added an option to pass hidden element template #354

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

avif
Copy link

@avif avif commented Dec 7, 2016

Added to the list of options "hiddenElementTemplate", to allow custom templates for that element.

I had a wierd issue where I had a row with a list of items of different sizes that was styled to clear left on every 3rd item so that I will have a 3 col layout with the row as high as the max item.

The clear left was achieved by using the :nth-of-type selector, but when the hidden element was inserted on drag it would mess up the element count by having the same tag name

  • used this solution to change the tag name and solve this.

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

Successfully merging this pull request may close these issues.

1 participant