tleunen / react-mdl

React Components for Material Design Lite
https://tleunen.github.io/react-mdl/
MIT License
1.76k stars 254 forks source link

React-MdL Dialog Not working in firefox and safari #483

Open ravi-hariharan opened 7 years ago

ravi-hariharan commented 7 years ago

React-MdL Dialog is working Properly only in Chrome. but Not working in firefox and safari

graphicgeek commented 7 years ago

From the docs:

https://react-mdl.github.io/react-mdl/components/dialog/

This component uses dialog element, which is only supported by Chrome and Opera currently. For other browsers, you need to include a polyfill in your code.

I'm trying the one the suggested: https://github.com/GoogleChrome/dialog-polyfill

ravi-hariharan commented 7 years ago

1)Install and use react-modal npm package https://github.com/reactjs/react-modal

It's working properly in firefox, chrome, ie, edge, safari