Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

DDProxy will reset radio inputs when cloneNode==true #1663

Open
jbalsas opened this Issue Feb 27, 2014 · 2 comments

Comments

Projects
None yet
3 participants
Contributor

jbalsas commented Feb 27, 2014

When using DDProxy, if cloneNode == true, inputs of type radio get reset after dragging the node. This can be verified in this simple test.

The issue is probably caused by DDProxy usage of cloneNode in line 152. When the cloned node contains a checked radio input, the moment the clone node gets appended, it gets marked as the checked radio input of the group, unselecting the original one. Later, when destroying the proxy node, the original never gets checked again.

This can be easily reproduced as well in pure vanilla js

@okuryu okuryu added this to the Sprint 13 milestone Mar 18, 2014

@okuryu okuryu self-assigned this Mar 18, 2014

Member

okuryu commented Mar 18, 2014

#1666 has been merged.

@okuryu okuryu closed this Mar 18, 2014

@tripp tripp reopened this Apr 8, 2014

Contributor

tripp commented Apr 8, 2014

This bug is only partially fixed. It still occurs in android 2.3.7.

@okuryu okuryu removed this from the Sprint 13 milestone Apr 11, 2014

@okuryu okuryu added the 1 - ToDo label Apr 11, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment