We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a439ff7 commit 9ce6e88Copy full SHA for 9ce6e88
packages/text-annotator-react/src/TextAnnotatorPopup/TextAnnotatorPopup.tsx
@@ -126,7 +126,7 @@ export const TextAnnotatorPopup = (props: TextAnnotationPopupProps) => {
126
127
const onClose = () => r?.cancelSelected();
128
129
- return isOpen && selected.length > 0 ? (
+ return isOpen && annotation ? (
130
<FloatingPortal>
131
<FloatingFocusManager
132
context={context}
@@ -135,7 +135,7 @@ export const TextAnnotatorPopup = (props: TextAnnotationPopupProps) => {
135
returnFocus={false}
136
initialFocus={initialFocus}>
137
<div
138
- className="r6o-popup r6o-text-popup not-annotatable"
+ className="a9s-popup r6o-popup annotation-popup r6o-text-popup not-annotatable"
139
ref={refs.setFloating}
140
style={floatingStyles}
141
{...getFloatingProps()}
0 commit comments