Skip to content

Commit 02302bd

Browse files
committed
Updating to absolute latest idiomorph
1 parent cdb2c9b commit 02302bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/LiveComponent/assets/dist/live_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ var Idiomorph = (function () {
617617
* @returns {boolean}
618618
*/
619619
function ignoreValueOfActiveElement(possibleActiveElement, ctx) {
620-
return ctx.ignoreActiveValue && possibleActiveElement === document.activeElement;
620+
return ctx.ignoreActiveValue && possibleActiveElement === document.activeElement && possibleActiveElement !== document.body;
621621
}
622622

623623
/**

src/LiveComponent/assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828
},
2929
"dependencies": {
30-
"idiomorph": "^0.3.0"
30+
"idiomorph": "https://github.com/bigskysoftware/idiomorph.git"
3131
},
3232
"peerDependencies": {
3333
"@hotwired/stimulus": "^3.0.0"

0 commit comments

Comments
 (0)