Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Modal - component modal only works with jQuery #6186

Closed
navarroaxel opened this issue Aug 20, 2016 · 0 comments
Closed

Modal - component modal only works with jQuery #6186

navarroaxel opened this issue Aug 20, 2016 · 0 comments

Comments

@navarroaxel
Copy link
Contributor

Bug description:

The $uibModal service fails when I use a component modal without jQuery. Using this call to the open method:

$uibModal.open({component: 'myComponent'})

the rendered HTML, without jQuery, is

<div class="modal-content" uib-modal-transclude=""
  <span class="ng-scope">[[object HTMLElement]]</span
</div>

with jQuery works perfectly.

Link to minimally-working plunker that reproduces the issue:

https://plnkr.co/edit/C61yaolPJoKH0WCnWQMr?p=preview

Version of Angular, UIBS, and Bootstrap

Angular: 1.5.8

UIBS: 2.1.0

Bootstrap: 3.3.7

jQuery: 3.0.0+

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants