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
When this gets called against the following element:
<a id="myid" name="mynavform" href="/tsp/myrefercence.xhtml" target="_blank"><img src="../images/spacer.gif" border="0"><img src="../images/rightarrow.gif" alt="Right Arrow" border="0" height="15" width="15" title="Right Arrow"><img src="../images/spacer.gif" border="0"><span class="LeftNavLeaf">My Menu Option</span></a>
I expect a child window to pop up. I can use the console in the CEF browser and send a click command to the id and the child window pops up. The only time it doesn't work is programmatically.
Expected behavior
A child window opens showing the page for /tsp/myreference.xhtml
Actual behavior
Nothing happens at all when the click is called.
Regression?
I had upgraded from 118.6.80 when it quit working. I tried regressing to 130.1.90 and it didn't work. I went ahead and regressed back to 118.6.80 and it works as expected.
Known Workarounds
No response
Does this problem also occur in the CEF Sample Application
Not Tested
Other information
No response
The text was updated successfully, but these errors were encountered:
amaitland
changed the title
Child Window does not open when clicking an anchor with target="_blank"
WinForms - Child Window does not open when executing .click() in javascript on an anchor with target="_blank"
Feb 3, 2025
That did it. It is curious that this setting did not affect popups if you interacted manually with the page but only when you use frame.EvaluateScriptAsync. In any case, it works now. Thanks!
Is there an existing issue for this?
CefSharp Version
131,3,50
Operating System
Windows 11
Architecture
x64
.Net Version
.Net 4.8
Implementation
WinForms
Reproduction Steps
I have an extension method as such:
When this gets called against the following element:
<a id="myid" name="mynavform" href="/tsp/myrefercence.xhtml" target="_blank"><img src="../images/spacer.gif" border="0"><img src="../images/rightarrow.gif" alt="Right Arrow" border="0" height="15" width="15" title="Right Arrow"><img src="../images/spacer.gif" border="0"><span class="LeftNavLeaf">My Menu Option</span></a>
I expect a child window to pop up. I can use the console in the CEF browser and send a click command to the id and the child window pops up. The only time it doesn't work is programmatically.
Expected behavior
A child window opens showing the page for /tsp/myreference.xhtml
Actual behavior
Nothing happens at all when the click is called.
Regression?
I had upgraded from 118.6.80 when it quit working. I tried regressing to 130.1.90 and it didn't work. I went ahead and regressed back to 118.6.80 and it works as expected.
Known Workarounds
No response
Does this problem also occur in the CEF Sample Application
Not Tested
Other information
No response
The text was updated successfully, but these errors were encountered: