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

Autogrow is creating a span that is never removed #14

Open
rkyoku opened this issue Mar 9, 2016 · 3 comments
Open

Autogrow is creating a span that is never removed #14

rkyoku opened this issue Mar 9, 2016 · 3 comments

Comments

@rkyoku
Copy link

rkyoku commented Mar 9, 2016

Hi there,

Autogrow is creating a span, that is appened to the body, and that is never removed.

It is like this:

<span style="position: absolute; top: -9999px; left: -9999px; width: auto; font-size: 12px; font-family: 'Segoe UI', Arial, sans-serif; font-weight: 400; letter-spacing: 0px; text-transform: none; white-space: nowrap;">my input field value is here</span>

Because I am constantly creating and removing input fields on which I apply the autogrow plugin, it makes the page code real messy with plenty of unremoved spans.

Please tell me what I can do to help you reproduce.

Thank you,

@SimonSteinberger
Copy link

No need to reproduce. That's normal behavior. The plugin would need a destroy method for cleaning up upon removal of elements. If I had a bit more time now, I'd implement this.

@rkyoku
Copy link
Author

rkyoku commented Mar 10, 2016

Ok then, I'll try to clean it up on my end for now. Thanks for the
explanation Simon!

Le jeu. 10 mars 2016 07:36, SimonSteinberger [email protected] a
écrit :

No need to reproduce. That's normal behavior. The plugin would need a
destroy method for cleaning up upon removal of elements. If I had a bit
more time now, I'd implement this.


Reply to this email directly or view it on GitHub
#14 (comment)
.

@SimonSteinberger
Copy link

I just thought, we could implement a destroy method that would remove the span element. If anybody else would like to have this, let us know.

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

2 participants