Skip to content

Prevent crash when firstChild is not a text node#51

Closed
OS-ruineves wants to merge 5 commits intomainfrom
fix-mouse-selection-crash
Closed

Prevent crash when firstChild is not a text node#51
OS-ruineves wants to merge 5 commits intomainfrom
fix-mouse-selection-crash

Conversation

@OS-ruineves
Copy link
Copy Markdown

@OS-ruineves OS-ruineves commented Apr 30, 2026

This attempts to fix a crash when selecting code with the mouse. It seems to be caused by invisible elements that fall into spots where Monaco expects text nodes instead. This only happens when rendered inside shadow DOM

@OS-ruineves OS-ruineves self-assigned this Apr 30, 2026
@wiz-code-outsystems
Copy link
Copy Markdown

wiz-code-outsystems Bot commented Apr 30, 2026

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings -
Software Management Finding Software Management Findings -
Total -

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

Pull Request Developer Guidance

Questions? See the Wiz FAQ.

Please contact the Security Office if you encounter issues with Wiz pull request scanning.

@OS-ruineves
Copy link
Copy Markdown
Author

Wrong base branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants