This commit is contained in:
Dallin Romney 2025-02-19 17:23:28 -08:00
parent 661b07a9fa
commit c10e54da87
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ export default function ToolDropdown(props: ToolDropdownProps) {
</Listbox.Button>
<PopoverTransition
show={open}
// afterLeave={() => setDropdownOpen(false)}
afterLeave={() => setDropdownOpen(false)}
>
<Listbox.Options
className={`bg-vsc-editor-background border-lightgray/50 absolute -left-32 z-50 mb-1 min-w-fit whitespace-nowrap rounded-md border border-solid px-1 py-0 shadow-lg ${showAbove ? "bottom-full" : ""}`}

View file

@ -551,7 +551,7 @@ function TipTapEditor(props: TipTapEditorProps) {
const [shouldHideToolbar, setShouldHideToolbar] = useState(false);
const debouncedShouldHideToolbar = debounce((value) => {
setShouldHideToolbar(value);
}, 1000);
}, 200);
function getPlaceholderText(
placeholder: TipTapEditorProps["placeholder"],