feat: add appropriate condition for highlighting

This commit is contained in:
Rohit
2025-07-17 13:40:27 +05:30
parent 50e3733226
commit 43ec6ecfec

View File

@@ -1297,7 +1297,9 @@ export const BrowserWindow = () => {
{isDOMMode && highlighterData && (
<>
{/* Individual element highlight (for non-group or hovered element) */}
{getText && !listSelector && (
{((getText && !listSelector) ||
(getList && paginationMode && paginationType !== "" &&
!["none", "scrollDown", "scrollUp"].includes(paginationType))) && (
<div
style={{
position: "absolute",