Skip to content

Commit 43ec6ec

Browse files
committed
feat: add appropriate condition for highlighting
1 parent 50e3733 commit 43ec6ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/browser/BrowserWindow.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,9 @@ export const BrowserWindow = () => {
12971297
{isDOMMode && highlighterData && (
12981298
<>
12991299
{/* Individual element highlight (for non-group or hovered element) */}
1300-
{getText && !listSelector && (
1300+
{((getText && !listSelector) ||
1301+
(getList && paginationMode && paginationType !== "" &&
1302+
!["none", "scrollDown", "scrollUp"].includes(paginationType))) && (
13011303
<div
13021304
style={{
13031305
position: "absolute",

0 commit comments

Comments
 (0)