-
Notifications
You must be signed in to change notification settings - Fork 151
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
Problem with displaying the auto-completion list #449
Comments
I am seeing the same issue (Avalonia 11.1.3, AvaloniaEdit 11.1.0). Changing the control template here to <ContentPresenter Content="{Binding Content, Mode=OneTime}" /> fixes the issue – at least in my app. Not sure what the underlying cause is. Some changes in the binding system? |
Another solution (in a ICompletionData implementarion):
Be careful it may lead to StackOverflow |
jmacato
added a commit
that referenced
this issue
Sep 7, 2024
Fixes #449 code completion throws an Exception upon Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The list display problems start with Avalonia version 11.1.0 (the previous version 11.0.13 works correctly).
Error: [Binding]An error occurred binding 'Content' to 'Content' at 'Content': 'Unable to cast object of type 'System.String' to type 'AvaloniaEdit.CodeCompletion.ICompletionData'.' (ContentPresenter #48657561)
The text was updated successfully, but these errors were encountered: