Actions: ProLoser/PeaceInTheMiddleEast
Actions
Showing runs from all workflows
1,354 workflow runs
1,354 workflow runs
Dialogues/index.tsx:
- The mousedown event listener for handleClickOutside is now
conditionally added to the document only when the dialog (isOpen)
is true.
- The listener is removed when the dialog is closed or the component
unmounts.
- The useEffect hook managing this now depends on isOpen and toggle
to correctly add/remove the listener when the dialog state changes.
- Removed the previous setTimeout workaround as this conditional
binding approach is cleaner and more reliable.
- Retained the safeguard in handleClickOutside to only call toggle(false)
if state is not already false.
Deploy static content to Pages
#152:
Pull request #38
synchronize
by
ProLoser
Dialogues/index.tsx:
- The mousedown event listener for handleClickOutside is now
conditionally added to the document only when the dialog (isOpen)
is true.
- The listener is removed when the dialog is closed or the component
unmounts.
- The useEffect hook managing this now depends on isOpen and toggle
to correctly add/remove the listener when the dialog state changes.
- Removed the previous setTimeout workaround as this conditional
binding approach is cleaner and more reliable.
- Retained the safeguard in handleClickOutside to only call toggle(false)
if state is not already false.
Deploy static content to Pages
#151:
Pull request #38
synchronize
by
ProLoser
Dialogues/index.tsx:
- The mousedown event listener for handleClickOutside is now
conditionally added to the document only when the dialog (isOpen)
is true.
- The listener is removed when the dialog is closed or the component
unmounts.
- The useEffect hook managing this now depends on isOpen and toggle
to correctly add/remove the listener when the dialog state changes.
- Removed the previous setTimeout workaround as this conditional
binding approach is cleaner and more reliable.
- Retained the safeguard in handleClickOutside to only call toggle(false)
if state is not already false.
Deploy static content to Pages
#150:
Pull request #38
opened
by
ProLoser
ProTip!
You can narrow down the results and go further in time using created:<2025-06-07 or the other filters available.