Computer >> Computer tutorials >  >> Programming >> Javascript

Strange cursor placement in modal when using autofocus in Internet Explorer with HTML


To solve this problem, use the following:

.modal.fade {
   transition:opacity .3s linear;
}

You can also solve it by forcing the modal to fade in without sliding.

windowClass: 'modal fade in'