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
The concrete implementation InputElement should not be required to handle input in some inline. Inline itself is not a Visual so this will not be possible. Instead only IInputElement should be required.
I don't think this issue is solved. You are adding a styled button to the text layout. This issue is about making TextRun's hit testable for commands etc.
Is your feature request related to a problem? Please describe.
In order to implement Hyperlink inline pointer / keyboard input is required.
Describe the solution you'd like
Make Inline / TextElement inherit from InputElement to enable pointer/keyboard input handling
Describe alternatives you've considered
Embedding TextBlock's controls?
Additional context
Avalonia/src/Avalonia.Controls/Documents/Inline.cs
Line 11 in d39b927
Avalonia/src/Avalonia.Controls/Documents/TextElement.cs
Line 9 in d39b927
Avalonia/src/Avalonia.Base/Input/InputElement.cs
Line 21 in d39b927
The text was updated successfully, but these errors were encountered: