Files
ComfyUI_frontend/src/extensions/core
Terry Jia 8b5e43d7f3 fix: reset touch state when iPad Safari loses focus (#7134)
## Summary
When the browser loses focus (e.g., switching apps, showing the dock),
touchend events may not fire, causing touchCount to remain non-zero.
This blocks all subsequent single-finger interactions since
processMouseDown returns early when touchCount > 0.

Added visibilitychange and touchcancel event listeners to reset touch
state when the page becomes hidden or touch is interrupted by the
system.

fix https://github.com/Comfy-Org/ComfyUI_frontend/issues/6721

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7134-fix-reset-touch-state-when-iPad-Safari-loses-focus-2be6d73d3650819abc7cf9c602909228)
by [Unito](https://www.unito.io)
2025-12-03 20:34:56 -05:00
..
2025-11-05 09:11:56 +01:00

Core Extensions

This directory contains the core extensions that provide essential functionality to the ComfyUI frontend.

📚 Full Documentation

The complete documentation for core extensions has been moved to:

/docs/extensions/core.md

Quick Reference

This directory contains built-in extensions that ship with ComfyUI, including:

  • Image Processing: maskeditor, uploadImage, saveImageExtraOutput, clipspace
  • Graph Management: groupNode, groupNodeManage, groupOptions, rerouteNode, noteNode
  • Input Handling: widgetInputs, uploadAudio, webcamCapture, simpleTouchSupport
  • UI Enhancements: contextMenuFilter, previewAny, nodeTemplates
  • Text Processing: dynamicPrompts, editAttention
  • Platform Support: electronAdapter

and more.

See Also