Skip to content

Commit 9ac4d03

Browse files
committed
fix: element highlighting doesn’t have phoenix internal attribute
1 parent 6ab39b0 commit 9ac4d03

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/LiveDevelopment/BrowserScripts/RemoteFunctions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ function RemoteFunctions(config = {}) {
357357
// Container div — sized to the margin box so all rects fit inside it
358358
const div = window.document.createElement("div");
359359
div.className = GLOBALS.HIGHLIGHT_CLASSNAME;
360+
div.setAttribute(GLOBALS.PHCODE_INTERNAL_ATTR, "true");
360361
div.trackingElement = element;
361362
const divStyle = div.style;
362363
divStyle.position = "absolute";

0 commit comments

Comments
 (0)