You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2018. It is now read-only.
Hello!
I just encountered a very strange problem related to browser script. In short I have Webpack-React-Redux-PHP stack. I have configuration for Browsersync server and I use both PHP(port 8001 and Browsersync on 3000).
I fetch the index page from PHP via proxy. When I use BrowserSync server with script I get some issues with Material-UI switch, the callback returns wrong switch state, when I configure BrowserSync like this scriptPath: function(){}
(so basically I remove the script) it starts working well on both dev environment(with Browsersync) and in prod env(localhost:8001). It looks like Browsersync is pushing some additional events on click so when I actually hit the callback the value is not updated at time. So when I have switch in off state I should receive true in click callback, but I receive false instead. Do you have any idea what could potentially cause this issue ?