billpull / knockout-bootstrap

A plugin that adds custom bindings for twitter bootstrap objects such as tooltips and popovers.
233 stars 69 forks source link

Popover breaks data-bind of child elements #17

Closed coryisakson closed 10 years ago

coryisakson commented 10 years ago

Consider this link:

Without the Popover on the anchor tag the tag data binds as expected. When the popover is in place there is no data binding.

I noticed this line in the script: // Also tell KO not to bind the descendants itself, otherwise they will be bound twice return { controlsDescendantBindings: true };

setting this to false corrects the problem, but the comment leads me to believe it may cause other issues.

billpull commented 10 years ago

I am not following what the issue is could you provide a fiddle?

coryisakson commented 10 years ago

I created a fiddle, but I could not reproduce my issue. There is something unique to my current solution that is throwing it off.