Isotope (Masonry) JS library not working in elementor preview mode

We are developing a WordPress Theme using Elementor but I can’t seem to get Isotope masonry mode working in preview mode even load the preview page once. It only works in the frontend. Yes, finally I found what is the issue. Isotope library file have that issue. All the other major js libraries working fine. But isotope library not working. I edited library file and make some alert message inside isotope lib file for only test. It’s not having stuff to find dynamic elements inside iframe.