-
-
Notifications
You must be signed in to change notification settings - Fork 605
Open
Labels
Description
Feature description
I’ve noticed some odd scrolling behavior related to HtmlTextView.
When a game description is rendered in an HtmlTextView, clicking anywhere inside it often makes the parent ScrollViewer jump so that the description area is snapped to the top of the window.
Repro:
- Desktop mode
- Any theme using HtmlTextView for the game description (e.g. FusionX)
- Pick a game with a long HTML description
- Click inside the HtmlTextView (anywhere in the text)
- Result: the view suddenly scrolls and recenters around the HtmlTextView.
It looks like HtmlTextView (or its child HtmlPanel) is triggering a BringIntoView/RequestBringIntoView when it’s clicked. That behavior is pretty noticeable in themes with extra tabs and custom content, because a simple click in the description unexpectedly shifts the whole layout.
Request:
would it be possible for HtmlTextView to either:
-
stop requesting BringIntoView on mouse click, or
-
expose an option/flag so themes can disable that behavior?
Screenshots
Reactions are currently unavailable
