asticode / astilectron

Electron app that provides an API over a TCP socket that allows executing Electron's method as well as capturing Electron's events
MIT License
285 stars 67 forks source link

State changes are not working properly with Astilectron + Angular #30

Closed komyg closed 4 years ago

komyg commented 4 years ago

Hi,

I have an app that uses Angular 10 and NgRx, and I am having some difficulties with its state changes.

The problem is that the UI is not updating correctly given the state of the app. For example, if I click on a button to open a modal popup, the modal doesn't show until I click on something else on the UI and force it to update.

I've tested my app on the latest version of Chrome and on the latest version of Electron (9.1.2) and it worked fine. I also upgrade the Electron from Astilectron to version 9.1.2 but the error remained.

Here is an example:

astilectron

Notice that the modal only appears after I click on the arrows that change the screen.

This is how it looks like in Chrome when it is working:

astilectron-2

Has anyone experienced this? Can anyone help me?

Thanks, Felipe

asticode commented 4 years ago

Answering in https://github.com/asticode/go-astilectron/issues/266