Use flexmonster in IE 11

Answered
Prashik Hande asked on April 30, 2021

I am getting error as following due to which flexmonster is not opening at all
Function.prototype.toString: 'this' is not a Function object
and
Function.prototype.toString: 'this' is not a Function object
 
Unable to get property 'dispose' of undefined or null reference
I have checked the required polyfills, it seems fine
Flexmonster version :  2.8.10

Attachments:
error1.png

6 answers

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster April 30, 2021

Hello,
 
Thank you for posting on our forum.
 
Please note that starting from version 2.8.9, flexmonser.js was migrated to ES6 JavaScript standard, which is not supported by Internet Explorer 11. For Internet Explorer 11, we made a special ES5 version flexmonster.es5.js. It is available:

  • On the CLI and npm (along with flexmonster.es5.full.js)
  • On CDN
  • In download packages (inside the flexmonster/ folder)

 
Please let us know if it helps.
Looking forward to your feedback.

Regards,
Illia

Public
Prashik Hande May 1, 2021

I tried using flexmonster.es5.full.js but it did not helped.
I am using flexmonster in react, is it react causing some issue here?

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster May 4, 2021

Hello,
 
Thank you for the details. We want to confirm that React nature of the project may cause the issue.
 
Could you please specify the way you embed Flexmonster? Do you use the Flexmonster React module as described in our documentation? This information will be helpful for our investigation.
 
Looking forward to hearing from you.
 
Regards,
Illia

Public
Prashik Hande May 5, 2021

Hi Illia,
Yes, we are using react-flexmonster to use flexmonster in our react app as per docs. version 2.8.10

Thanks

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster May 5, 2021

Hello,
 
Thank you for providing the details.
 
Our team will research possible solutions for using the Flexmonster React module in IE 11. We will get back to you with the results ETA June 14.
 
Do not hesitate to reach out in case other questions arise.
 
Best regards,
Illia

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster August 19, 2021

Hello,
 
We are glad to announce that the es5 option was added to the 'react-flexmonster' npm package.
 
You are welcome to update the component.
Here is our updating to the latest version tutorial for guidance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
 
Learn more about how to Use Flexmonster in a React + ES5 application from our documentation: Use flexmonster in IE 11.
Please contact us in case any questions arise.
 
Best regards,
Illia

Please login or Register to Submit Answer