Closed mikart143 closed 4 years ago
@mikart143
The fix is here - https://github.com/chromelyapps/Chromely/issues/166#issuecomment-601215913 I was to do a nuget update, just totally forgot with what is happening.
I just updated the nugets.
Everything works great but new window points to home not to todolist page. I do not if this is connected to this example or this is not implemented yet
That makes sense to me. These are 2 separate frameworks that are likely to handle Absolute and Relative paths differently. If the absolute path works, that should be all that is needed.
Try change the path to something familiar like youTube page - "https://www.youtube.com/embed/cMNPPgB0_mU" for a quick test.
If that works, to make the relative path work, then a custom handler may be required.
public class DemoChromelyApp : ChromelyBasicApp
{
public override void Configure(IChromelyContainer container)
{
base.Configure(container);
// Custom handlers
container.RegisterSingleton(typeof(IChromelyCustomHandler), Guid.NewGuid().ToString(), typeof(CustomLifeSpanHandler));
---
}
}
public class CustomLifeSpanHandler : CefGlueLifeSpanHandler
{
}
But my advise will be to see how absolute path is passed from html. That will be far less work.
I turned out that this was demo error. With pure template everything works
Hello! I from scientific project Legendary Rover I am trying to open a child window but I am stuck. I was following #166 for Blazor server side support. I am so happy that this is working. I am trying now to open a child window. At the end of issue the author suggested that this should be working in some time. I am able to open a website(e.x chromely github) but on my default browser. I am using demo server app. I am unable to open any sub page in new window. Script to run new window:
After hitting button several times I am getting this output to my console:
Log file chromely.cef_20200411.log
Happy Easter !! 🥚 🐔