You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deliver onClick reliably from embedded macOS windows #41
onClick is not delivered reliably from real embedded macOS windows when GPUIX wires it through GPUI's higher-level on_click gesture. onMouseDown and onMouseUp arrive, but the click gesture is not consistently finalized by the embedded pump. This affects ordinary retained hosts and native custom elements such as motion.div.
The DOM-compatible boundary needed by GPUIX is simpler: emit onClick from primary-button mouse-up, while leaving middle/right buttons to onAuxClick and preserving all-button onMouseDown / onMouseUp delivery.
Expected behavior
primary down + primary up: onMouseDown, onMouseUp, and one onClick;
right or middle down/up: onMouseDown and onMouseUp, but no onClick;
onAuxClick behavior remains unchanged;
retained hosts and custom native elements use the same rule.
Reference implementation
No PR is being opened, per the external-contributor policy.
Activity
release: @gpuix/[email protected] and @gpuix/[email protected]
Text is laid out in fractions of a pixel as in Chrome and snapped whe…