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
The problem I faced with is that triggerHandler doesn't bubble, so it's impossible to use event delegation with it.
I saw you added "selector" option recently, so enabling event delegation seems reasonable as well.
The only problem I envision is possible conflicts in event names with bootstrap, e.g. If I bind to bootstrap's modal "hidden" event and editable inside this modal triggers it's own "hidden" event - it will bubble up and trigger modal's handler.
Not sure how to handle this properly - maybe it's worth to namespace triggered events, but this will cause a BC break.
The text was updated successfully, but these errors were encountered:
hmm... any progress on this? i'm having issues currently with trying to bind to .editable hidden event on dynamically added content. http://jsfiddle.net/rced7kp1/ perhaps someone has a work-around?
so i got it sorted by patching x-editable to use trigger() instead of triggerhandler() for the hidden event. i imagine if i was putting editable items into overlays or something that would be problematic, but it seems to work fine for my uses.
The problem I faced with is that triggerHandler doesn't bubble, so it's impossible to use event delegation with it.
I saw you added "selector" option recently, so enabling event delegation seems reasonable as well.
The only problem I envision is possible conflicts in event names with bootstrap, e.g. If I bind to bootstrap's modal "hidden" event and editable inside this modal triggers it's own "hidden" event - it will bubble up and trigger modal's handler.
Not sure how to handle this properly - maybe it's worth to namespace triggered events, but this will cause a BC break.
The text was updated successfully, but these errors were encountered: