cleanup
This commit is contained in:
parent
661b07a9fa
commit
c10e54da87
2 changed files with 2 additions and 2 deletions
|
|
@ -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" : ""}`}
|
||||
|
|
|
|||
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue