wingspan / wingspan-forms

A dynamic form library for Facebook React, providing abstractions for building dynamic forms and controlled grids. Widgets provided by Telerik's KendoUI.
MIT License
292 stars 25 forks source link

Widget wrapper elements cause breaks in React-owned DOM tree #83

Closed newyankeecodeshop closed 4 years ago

newyankeecodeshop commented 9 years ago

A few of the kendo widgets generate "wrapper" elements that are injected into the DOM hierarchy between the widget's initial element, usually an , and the element's parent. Since these elements are rendered by React, they have a "data-reactid" attribute. However, when the kendo widget injects the wrapper, it breaks the chain of react-rendered nodes. This causes one issue - a memory leak when a widget is rendered directly using React.render().

The widgets that have this issue are: