mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Failed To open dropdown menu in navbar #487
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 @lmtr0 on GitHub (May 10, 2020).
Originally assigned to: @GregorBiswanger on GitHub.
Failed To open dropdown menu in bootstrap navbar
Versions:
=> ElectronNET.CLI Version: 7.30.2.0
=> .Net core 3.1 and node 13.11.0
Target:
Windows,
Linux,
Mac
details:
Hello I add a dropdown menu with bootstrap, when I test it in the browser it works normally, but when I open in the electronNET "browser" it just don't work
the code is:
@lmtr0 commented on GitHub (May 13, 2020):
UPDATE:
is not just the navbar, all the external javascript files doesn't load. I have test it like this
in java.js:
in index.razor:
when i click the button it was supposed to change the text but it doesn't do anything
I have put the script tag in _Host.razor refering to this file
I have also test it puting the file in the host/bin/ and refering by the full path, but it still dosent work.
SOMEBODY HELP ME
@GregorBiswanger commented on GitHub (May 13, 2020):
please create a prototype that I can test locally
@GregorBiswanger commented on GitHub (May 15, 2020):
Duplicate of #400
@lmtr0 commented on GitHub (May 16, 2020):
Thank you very much
@romuloteixeira commented on GitHub (May 10, 2021):
Hi,
I used this solution and worked for me.
https://github.com/ElectronNET/Electron.NET/issues/329#issuecomment-546612899
Example:

@lmtr0 commented on GitHub (May 10, 2021):
Oh, I didn't thought about that. I totally makes sense, It would take from the root directly! thanks