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 5bf87ac commit c31cf68Copy full SHA for c31cf68
src/lib/actions/handle_dropdown.ts
@@ -4,6 +4,7 @@ import { browser } from '$app/environment';
4
const activeDropdownId: Writable<string | null> = writable<string | null>(null);
5
6
const dropdownContext = {
7
+ // Reference to the element that triggered the dropdown.
8
lastTriggerElement: null as HTMLElement | null,
9
// Bounce timer for resizing event.
10
resizeTimeout: undefined as ReturnType<typeof setTimeout> | undefined,
0 commit comments