-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with TabView #53
Comments
It caused by a stackoverflow between DependencyProperty and Property while there're multiple CodeEditor instances:
A workaround is removing properties |
Could you compile it and publish to Nuget? I tried to compile it myself and publish to Nuget, but the control renders a white non-clickable area. So I had to directly reference the latest source code project in my project, and it works well, this way I had to install some extra software like Node, which was too complicated. Thanks~ |
I'm uploading my build here directly: I compiled it with version 0.899.0-beta, you can put it under a local directory and add the path to your nuget config, then you can reference it directly. |
@hawkerm This should be fixed before 0.9 release. |
Linking to #21 as the crux of the issue too. |
Wonder if this is fixed by the improvements in #58... Not sure about setting up a TabView in the sample test app to reproduce, though but will need to test this out a bit in my other project. May kick-off a build soon to NuGet and just see how it goes. |
It seems that this is not fixed yet (at least in version 0.9.0-beta from Nuget). |
Thanks @manfromarce for letting us know. I twiddled with how this works a bit, so that's disappointing to hear. I don't have a repo on my machine yet since it's a more complex setup than the demo app does at the moment. Did you have a similar setup to @632575987? Can you provide some details on what your TabView XAML and DataTemplate look like where you're using Monaco? More details would help here like a stack trace or a minimal repro app. |
Hi @hawkerm, I managed to avoid crashes but I noticed 2 curious issues:
|
I have a custom control which contains two monaco-editor , when I add the tabviewitem(content is that custom control) to tabview
and click the tabviewitem ,app crashed.
The text was updated successfully, but these errors were encountered: