Hiren Kangad 205ce65a8b fix(refboard): drag-drop opening in new tab — use ref for drop target
The drag/drop setup was searching for a <canvas> element to find its
parent, which was fragile and could fail (returning null). When it
failed, document-level dragover/drop prevention was never registered,
so the browser's default behavior (open file in new tab) kicked in.

Fix: pass a direct ref to the outer canvas container div from Editor
to useCanvasSetup. No more DOM querying for the drop target.
2026-03-10 11:20:26 +05:30
S
Description
RefBoard fork for AYON-only operation: AYON as identity provider, task-scoped boards. (upstream: metalfinger/refboard)
MIT
918 KiB
2026-09-05 00:17:31 +00:00
Languages
TypeScript 83.5%
JavaScript 15.5%
Shell 0.5%
PowerShell 0.3%