[Sources Watch Expression]: Fix focus issues when editing Issue: - Clicking inside the watch expression edit field will unexpectedly commit the edit - When clicking in the edit box, the underlying tree element gets selected which steals focus and triggers the edit box's blur listener Changes: - Adding _disableSelectFocus property and a setter inside TreeElement class which will disable focus calls in the TreeElement.select function - WatchExpression will set its treeElement's _disableSelectFocus property to true when the expression is being edited. Before: https://imgur.com/WHbj6Jq After: https://imgur.com/kvEUC0r Bug: 1205282 Change-Id: Ie8c087bc9415d7d2d93cb14c831a01df32437d24 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2895946 Commit-Queue: Michael Liao <michael.liao@microsoft.com> Reviewed-by: Brandon Walderman <brwalder@microsoft.com> Reviewed-by: Jan Scheffler <janscheffler@chromium.org>
The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.
The frontend is available on chromium.googlesource.com.
Please be aware that DevTools follows additional development guidelines.
The issue triage guidelines can be found in docs/triage_guidelines.md.
Instructions to set up, use, and maintain a DevTools frontend checkout can be found in docs/workflows.md.
DevTools frontend repository is mirrored on GitHub.
DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.
The version number of the npm package (e.g. 1.0.373466) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.
All DevTools commits: View the log or follow @DevToolsCommits on Twitter
All open DevTools tickets on crbug.com
File a new DevTools ticket: new.crbug.com
Code reviews mailing list: devtools-reviews@chromium.org
@ChromeDevTools on Twitter
Chrome DevTools mailing list: groups.google.com/forum/google-chrome-developer-tools