You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sure i could go up the hierarchy and convert more and more parent elements to react components, until i'm left with one single div i could anchor the all encompassing component to.
but i just want to the render the dropdown ul with react.
that's why react should have an option to replace the element given in renderComponent.
thanks for reading this long rant and hope for a solution soon
Yes, currently you have to replace the entire contents of a container. After #1711 this won't be true any more, but the best workaround is probably to add an extra wrapping element around the <ul>.
if i could i would do it. if add an extra wrapper the dropdown stops working. so i would have to modify 3rd party code(bootstrap, theme) or just code css overrides which is undesirable.
and the resulting html would not be correct
Activity
sophiebits commentedon Nov 8, 2014
Yes, currently you have to replace the entire contents of a container. After #1711 this won't be true any more, but the best workaround is probably to add an extra wrapping element around the
<ul>.bazo commentedon Nov 8, 2014
if i could i would do it. if add an extra wrapper the dropdown stops working. so i would have to modify 3rd party code(bootstrap, theme) or just code css overrides which is undesirable.
and the resulting html would not be correct
lggwettmann commentedon Apr 20, 2015
Will a fix be implemented soon into React? I really like it so far, but this is a major bummer unfortunately.
zpao commentedon Apr 20, 2015
No, I wouldn't expect this to change anytime soon. Maybe eventually.