uiv-lib/uiv

IE 11 Foreach error

Tronhus opened this issue · 1 comments

Describe the bug
IE11 bug when using a modal. When the modal er removed from the view it calls toggleBodyOverflow function in file dom.utils.js
The code uses Foreach on a list of html elements line 340 and 349. The foreach breaks in IE 11
A possible solution could be https://rimdev.io/foreach-for-ie-11/

To Reproduce
Steps to reproduce the behavior:
in IE
add a modal to page
close modal on page,

Screenshots
2020-11-17 09_14_14-
2020-11-17 09_14_32-

Desktop (please complete the following information):

  • OS: windows 10
  • Browser IE
  • Version 11
wxsms commented

Nice catch. fixed in 1.1.5