mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
User Interface issue when running the via Electron.NET. #215
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vbmanuel22 on GitHub (Oct 10, 2018).
Originally assigned to: @GregorBiswanger on GitHub.
Hi,
We are having some UI issues when running the electron.net app. When we run it via browser the UI is fine but when it's on the electron its messed up. Please see attached screenshots.

Thank you.
@RogerDodger123 commented on GitHub (Oct 12, 2018):
Are you able post any code? It just looks like styling issues
@vbmanuel22 commented on GitHub (Oct 12, 2018):
Hi Roger,
Not sure if it is a styling issues as the ui is ok when run it via browser.
Please see attached files.
Login.zip
@MuhAssar commented on GitHub (Oct 14, 2018):
this might be caused by Node.js integration of Electron,
to overcome this issue try the following:
more on this issue:
https://stackoverflow.com/questions/32621988/electron-jquery-is-not-defined
@vbmanuel22 commented on GitHub (Oct 15, 2018):
Hi Abuassar,
Thank you for sharing the link but the issue still persist after inserting the above code. One thing I noticed is that we do not have the vendor.js file. Do we really need that file?
Thank you.
@vbmanuel22 commented on GitHub (Oct 15, 2018):
Btw, here's the error on the browser console, hope it will help.

@MuhAssar commented on GitHub (Oct 16, 2018):
@vbmanuel22 it seams that you didn't interpret my reply well
this section in my reply is just an example, read the comment it says "your normal script imports etc" :
@vbmanuel22 commented on GitHub (Oct 16, 2018):
Hi @abuassar,
Thanks for the clarification, but sadly the issue still persist.
@MuhAssar commented on GitHub (Oct 17, 2018):
@vbmanuel22 sorry it didn't work for you, I had the exact same error as yours (jquery is not defined), and I fixed it using the solution the I gave you, try reading the stackoverflow thread I posted above as it has more solutions.
@GregorBiswanger commented on GitHub (Jan 3, 2019):
@vbmanuel22 Is the lib directory in the wwwroot?
Compare your solution with the Electron.NET API Samples App please (wwwroot and home view file):
https://github.com/ElectronNET/electron.net-api-demos