Skip to content

Commit

Permalink
Make texts selectable in React DevTools panels (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmondChuiHW authored Oct 16, 2024
1 parent a897db8 commit 117c96a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions front_end/panels/react_devtools/ReactDevToolsViewBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export class ReactDevToolsViewBase extends UI.View.SimpleView implements
this.#renderLoader();

SDK.TargetManager.TargetManager.instance().observeModels(ReactDevToolsModel, this);
this.element.style.userSelect = 'text';
}

override wasShown(): void {
Expand Down

0 comments on commit 117c96a

Please sign in to comment.