The logic seen in https://github.com/TanStack/hotkeys/blob/6adcc3a1b0a28350eb421f6aeebcf0f94d177817/packages/hotkeys/src/manager.utils.ts#L48 will fail cross realms, the classes are only correct for the active realm. The check should use tagName instead for cross realm accesses.
The logic seen in
hotkeys/packages/hotkeys/src/manager.utils.ts
Line 48 in 6adcc3a
will fail cross realms, the classes are only correct for the active realm. The check should use tagName instead for cross realm accesses.