[WASM] TextBlock
text selection using double-click bleeds into other controls
#13440
Labels
area/textblock
Categorizes an issue or PR as relevant to the TextBlock control
difficulty/medium 🤔
Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI
kind/bug
Something isn't working
platform/wasm 🌐
Categorizes an issue or PR as relevant to the WebAssembly platform
project/text 🔤
Categorizes an issue or PR as relevant to text (TextBox, PasswordBox, TextBlock, Fonts, …)
Current behavior
When selecting text via double-click, the selection highlight is also selecting adjacent text controls. This works on WinUI Desktop but not WASM. The behavior also seems different across different browsers. Firefox does not have this problem, but Edge and Chrome do.
Expected behavior
Double-clicking on a TextBlock should only select that text.
How to reproduce it (as minimally and precisely as possible)
Drop this on a page and double-click on one of the TextBlocks:
Workaround
No response
Works on UWP/WinUI
Yes
Environment
Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
NuGet package version(s)
Affected platforms
WebAssembly
IDE
Visual Studio 2022
IDE version
17.6.5
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: