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
I have a UserControl with TextBox where I don't want to have direct input so it's read-only and the input is done by a KeyDown Event and a button next to it and it works fine in WEB and UWP but in Linux everytime I click the button it selects the text inside the textbox and it gets a carret instead of triggering the button click event.
I think the problem could be solved here so it doesn't have the carret anymore when it is ReadOnly:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have a UserControl with TextBox where I don't want to have direct input so it's read-only and the input is done by a KeyDown Event and a button next to it and it works fine in WEB and UWP but in Linux everytime I click the button it selects the text inside the textbox and it gets a carret instead of triggering the button click event.
I think the problem could be solved here so it doesn't have the carret anymore when it is ReadOnly:
uno/src/Uno.UI.Runtime.Skia.Gtk/UI/Xaml/Controls/TextBoxViewExtension.cs
Line 166 in 4a2e08d
Beta Was this translation helpful? Give feedback.
All reactions