RESOLVED FIXED 167146
Web Inspector: "bouncy highlight" element in TextEditor/DOMTreeOutline should update or dismiss when user scrolls
https://bugs.webkit.org/show_bug.cgi?id=167146
Summary Web Inspector: "bouncy highlight" element in TextEditor/DOMTreeOutline should...
Blaze Burg
Reported 2017-01-17 16:39:52 PST
This looks dumb. Should be easy to fix. Relevant code is in TextEditor._revealSearchResult and you could use add/removeScrollHandler to detect this and update position or hide it early. You'd need to make sure the animation cancels.
Attachments
Patch (2.13 KB, patch)
2017-01-30 15:00 PST, Devin Rousso
timothy: review+
Patch (2.00 KB, patch)
2017-01-30 22:34 PST, Devin Rousso
no flags
Patch (2.00 KB, patch)
2017-01-30 22:35 PST, Devin Rousso
no flags
Blaze Burg
Comment 1 2017-01-17 16:40:28 PST
Devin Rousso
Comment 2 2017-01-30 14:51:49 PST
Not sure if I'm just missing something obvious, but what is the "bouncy highlight" element? Do you mean the light-blue line highlight?
Devin Rousso
Comment 3 2017-01-30 14:58:44 PST
(In reply to comment #2) > Not sure if I'm just missing something obvious, but what is the "bouncy > highlight" element? Do you mean the light-blue line highlight? Yeah that was a dumb question. Nevermind -.-
Devin Rousso
Comment 4 2017-01-30 15:00:21 PST
Timothy Hatcher
Comment 5 2017-01-30 19:50:57 PST
Comment on attachment 300147 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=300147&action=review > Source/WebInspectorUI/UserInterface/Views/TextEditor.js:1093 > + }; > + this.addScrollHandler(scrollHandler); Add newline between.
Devin Rousso
Comment 6 2017-01-30 22:34:51 PST
Devin Rousso
Comment 7 2017-01-30 22:35:41 PST
WebKit Commit Bot
Comment 8 2017-01-30 23:13:09 PST
Comment on attachment 300188 [details] Patch Clearing flags on attachment: 300188 Committed r211408: <http://trac.webkit.org/changeset/211408>
WebKit Commit Bot
Comment 9 2017-01-30 23:13:12 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.