Repository navigation
CallStackView attempts to move the active frame to the top - #88074
Isidor Nikolic (isidorn) merged 1 commit into
Conversation
|
Thanks for submiting this PR. However it might be a bit overly complex to me and I think we can simplify this. |
49bd816 to
02b5905
Compare
…le of the visible area
02b5905 to
c9aeb8a
Compare
|
Isidor Nikolic (@isidorn) - Did the change you recommended and it's not a bad idea at all. I still only move the |
|
ping, just making sure you haven't forgotten about this :) Isidor Nikolic (@isidorn) Erich Gamma (@egamma) |
|
Looks good, thanks for this PR. Merging in ☀️ |
This PR fixes #88073
This is an attempt to fix the above issue.
If the element we're selecting is a StackFrame and it's not on the screen, I attempt to put the associated Thread at the very top of the list view. I don't force it as if the element is already on the screen, it'll scroll if up forcefully, which is not a good UX imo.
I'd appreciate any comments, there is a lot going in the code to render a stack trace, this seemed like an easy and non-invasive way to make this a little more intuitive.