[Webkit-unassigned] [Bug 192992] New: Web Inspector: update scroll position when revealing a virtualized WI.DataGridNode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 21 12:54:33 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=192992

            Bug ID: 192992
           Summary: Web Inspector: update scroll position when revealing a
                    virtualized WI.DataGridNode
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

When calling `reveal()` on a `WI.DataGridNode`, if that node isn't currently visible (e.g. it's scrolled offscreen), then it most likely isn't part of the DOM tree, meaning that `scrollIntoViewIfNeeded` won't work.  Since `WI.DataGrid` uses virtualization to keep the DOM tree more lightweight, when we call `WI.DataGridNode.prototype.reveal`, we need to recalculate what nodes should be in the DOM tree.

This is the same logic that is done by a virtualized `WI.TreeOutline`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181221/2f85d1a1/attachment.html>


More information about the webkit-unassigned mailing list