diff --git a/src/components/organisms/BrowserWindow.tsx b/src/components/organisms/BrowserWindow.tsx index 68a16653..c7b64d59 100644 --- a/src/components/organisms/BrowserWindow.tsx +++ b/src/components/organisms/BrowserWindow.tsx @@ -234,23 +234,31 @@ export const BrowserWindow = () => { return (
{ - getText === true || getList === true ? ( - { }} - canBeClosed={false} - > -
-

Select Attribute

- {attributeOptions.map((option) => ( - - ))} -
-
- ) : null - } + getText === true || getList === true ? ( + { }} + canBeClosed={false} + > +
+

Select Attribute

+
+ {attributeOptions.map((option) => ( + + ))} +
+
+
+ ) : null +} + {((getText === true || getList === true) && !showAttributeModal && highlighterData?.rect != null && highlighterData?.rect.top != null) && canvasRef?.current ?