Skip to content

Allow container to be placed on a different object#16745

Open
jbellsey wants to merge 1 commit intoLeaVerou:gh-pagesfrom
jbellsey:gh-pages
Open

Allow container to be placed on a different object#16745
jbellsey wants to merge 1 commit intoLeaVerou:gh-pagesfrom
jbellsey:gh-pages

Conversation

@jbellsey
Copy link
Copy Markdown

This commit allows the user to force the awesomplete container (and its elements) to be placed around an element other than the provided input.

Why? As it stands, Awesomplete is incompatible with the Insignia tag-editing library (https://github.com/bevacqua/insignia). That library requires that the input field has no siblings, and Awesomplete creates siblings.

I have no doubt that this small change will be useful for other installations as well.

This commit allows the user to force the awesomplete container (and its elements) to be placed around an element other than the provided input.

Why? As it stands, Awesomplete is incompatible with the Insignia tag-editing library (https://github.com/bevacqua/insignia). That library requires that the input field has no siblings, and Awesomplete creates siblings.

I have no doubt that this small change will be useful for other installations as well.
@LeaVerou
Copy link
Copy Markdown
Owner

Thanks for working on this.

I think this issue can be fixed by #16743, no?

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.

2 participants