Manoharan
Manoharan
+1 for built-in spy library
@mattmcmanus @axyxnz Any update?
@madrobby Awesome library so far. :+1: to add `contenteditable` elements in the default filter.
This is related to #2486. Even though we receive `xhr` in `htmx:historyCacheMiss` event, we cannot set headers using `xhr.setRequestHeader()` because `htmx:historyCacheMiss` is triggered before `xhr.open()` ```js function loadHistoryFromServer(path) { const...
Workaround to set custom headers in history navigation ```javascript document.body.addEventListener('htmx:historyCacheMiss', (event) => { const xhr = event.detail.xhr; xhr.addEventListener("readystatechange", function () { if (xhr.readyState === XMLHttpRequest.OPENED) { xhr.setRequestHeader("HEADER_NAME", "HEADER_VALUE"); } });...
I am also facing same issue. The common pattern is, the draggable items have `position: absolute;` parent.
It looks like default browser behaviour when double clicking an element. After double click, window.getSelection().toString() have values, but text selections are not highlighted. For me, the issue occurs only after...