internet explorer - Jquery Colorbox Freezes IE when contained in a Bootstrap Modal -
internet explorer - Jquery Colorbox Freezes IE when contained in a Bootstrap Modal -
on ie, had colorbox popup contained in bootstrap modal. whenever open popup, opens, ie freezes , have stop process close. sits exclusively dead.
i'm not sure why this, examples work fine on ie, it's mine breaks.
here's containing div colorbox. it's contained within bootstrap modal.
<div class='thumbnails-controls'> <a colorbox ng-href='{{baseasseturl+userid}}/{{asset.asset_uuid}}' class="preview search-thumbnail" title="{{asset.asset_name}}"><i class="icon-search"></i></a> <a ng-click="deleteasset(asset.asset_id)" href="#" title="delete" class="delete-thumbnail"><i class="icon-trash"></i></a> </div>
i'm using angularjs, don't think cause issues, it? thought maybe css, commented out, still froze ie. did hard coding image url, still froze. tried loading image in iframe, still froze. also, seek stuff, changed ng-href href, , still froze.
it in ie. every other browser works fine. i'm @ loss on why not working.
it seems conflict of focus between bootstrap modal , colorbox modal. whatever reason ie beingness picky it, other browsers got on conflict more smoothly.
through google , several hours of billion different search word combinations, found this question, 2 bootstrap modals, worked prepare issue.
the reply me worked question adding
$.fn.modal.constructor.prototype.enforcefocus = function () {};
after javascript imports loaded. tested across chrome, firefox , ie, appears working fine.
this answer, seems improve fix, however, couldn't work me, , overriding default behavior worked me.
jquery internet-explorer colorbox
Comments
Post a Comment