Posted 28 February 2018, 4:54 am EST
Hello,
Environment:
Angular 5
Wimo “5.20173.409”
TypeScript
“bootstrap”: “^3.3.7”,
I have noticed that:
- I open the modal for the first time, the modal is not centered and it’s closer to bottom.
- I close the modal and open it for the second time and modal is centered now.
<button (click)="show()">show modal</button>
<wj-popup class="modal-content wj-control wj-content wj-popup" tabindex="-1"
[modal]="true" [hideTrigger]="'None'" #modal style="width:600px;">
<h4 class="modal-header">
Test
<button class="close wj-hide" tabindex="-1" type="button">×</button>
</h4>
<div class="modal-body">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Accusantium doloremque, ratione doloribus consequatur cupiditate ad,
nemo velit consequuntur id quisquam minus deleniti veniam officia
recusandae labore consectetur a repellat molestias.
</p>
</div>
<div class="modal-footer" >
<button class="btn btn-success" type="button">
<i class="fa fa-hand-rock-o"></i>
Selection
</button>
<button class="btn btn-default" type="button">
<i class="fa fa-fw fa-times"></i>
Cancel
</button>
</div>
</wj-popup>
Any suggestion how to solve this issue?
Thank you
