-
Notifications
You must be signed in to change notification settings - Fork 69
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
Cannot apply bindings multiple times #49
Comments
I am seeing the same behavior. This is the first time I am using your library, so I thought it was they way I was looking it up. I am using a popover with a toggle trigger because I wanted a click to open and close it. But I receive the multiple apply bindings error |
I altered the popover bindingHandler to handle a few more options and so we did not get the multiple apply bindings error. The root problem is because it is animating, the selector is saying it is visible, but it is actually going away. Not sure if you liked my other changes, but I thought I would show you the changes below: ko.bindingHandlers.popover = {
}, |
@jfoegen could you put that into a pull request or gist or something to make it easier for me to test and merge in thanks. |
gist:9748560 I guess I never submitted publically before. If you need more info let me know. |
gist:9793327 - I made some other alterations for problems I was seeing when I had multiple popovers |
I got this bug with the latest version and a bit of a related issue maybe? I have a popover as a hover on an input group button. This builds itself from a template so I can easily bind data to many of these all over the page (It's a crafting recipe in a game. There's going to be 100s of these hover elements in the end, all built from a foreach). For some reason the input-group-btn class has a 0 font size. If I don't force the font size I get the above error. However, if I force the font size it shows up, no binding error and it handles the binding of the rest of the template fine. Data shows up and such. However, this happens: http://i.imgur.com/7omQJRg.jpg Misalignment on the button and the popover has some weird sizing. Is there something I'm missing in the template classes that should fix this? |
Hello. I got this bug too in foreach statement. insert this line at line 184: |
when updating to knockout3 in the ko3-bs3 branch I get an error about
applying bindings multiple times to the same node.
The text was updated successfully, but these errors were encountered: