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

Problems with textarea #52

Closed
emanchado opened this issue Oct 12, 2016 · 4 comments
Closed

Problems with textarea #52

emanchado opened this issue Oct 12, 2016 · 4 comments

Comments

@emanchado
Copy link

It seems that there's a bug with keeping the value of textareas. A solution for it is described here:

patrick-steele-idem/morphdom#88 (comment)

You have a bit more context information at choojs/choo#253 (which is already linked from the first URL).

@shama
Copy link
Collaborator

shama commented Oct 15, 2016

Related issue: choojs/nanohtml#36

@phated
Copy link

phated commented Oct 16, 2016

@shama do you see a problem with the following solution?

There's a line in yo-yo https://github.com/maxogden/yo-yo/blob/master/index.js#L31

If you flip the t/f you ge the expected outcome: https://esnextb.in/?gist=81944ffdfa6ebc00827d58d7c5a91441

I'm unable to reproduce this in morphdom under several variations of generating the html described.

I'm going to close this.

@shama shama closed this as completed in 7341617 Oct 16, 2016
@phated
Copy link

phated commented Oct 17, 2016

Thanks @shama!

@tors
Copy link

tors commented Oct 17, 2016

Thank you @shama!

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

4 participants