Skip to content

v1.1.4 - Targeting Fix

Latest

Choose a tag to compare

@eypsilon eypsilon released this 16 Dec 12:20
· 1 commit to main since this release

🐛 Bug Fix

Fixed Dataset Check in Per-Element Debounce

Issue: Console error when event target doesn't have a dataset property (e.g., window, document, or certain SVG elements).

Fix: Added safety check before accessing :

// Check if target is a DOM element with dataset property
if (target && target.dataset) {
    elementId = target.dataset.yehDid || target.id || target.getAttribute('name');
}

This is a patch release that fixes a regression introduced in v1.1.3. All v1.1.3 features remain unchanged.

Full v1.1.3 Release Notes: See DEV.NEXT.RELEASE_NOTES.md