Open edwardGunawan opened 8 years ago
Update: after removing mdl-js-layout, DMD component works perfectly fine. Why wouldn't it work with mdl-js-layout?
Hey @edwardGunawan, thanks for reporting the issue. Could you please setup a small codepen or even repo with the issue so I can easily reproduce and investigate why this is happening?
My code for the onSubmit button, and the onChange input type='file' button won't work inside the mdl layout. However, If i just put the component into the ReactDOM and render it, it works perfectly fine. I don't know what are the bugs is and this is the overall project that I have. Please help thank you!
This is the input box for DMD:
This is the DMD component:
This is the ReactDOM render function:
This is the layout for the main function:
So if I just put the DMD component inside the ReactDOM (app.jsx) component it works, but if I put it inside the main.jsx which is the layout for the main, it won't fire the eventListener.
This is my github repo just in case github/edwardGunawan/Printer.
Thanks a lot!