@hotwired/turbo 8.0.0-rc.1 → 8.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/turbo.es2017-esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Turbo 8.0.0-rc.
|
|
2
|
+
Turbo 8.0.0-rc.2
|
|
3
3
|
Copyright © 2024 37signals LLC
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
@@ -3828,7 +3828,7 @@ var Idiomorph = (function () {
|
|
|
3828
3828
|
* @returns {boolean}
|
|
3829
3829
|
*/
|
|
3830
3830
|
function ignoreValueOfActiveElement(possibleActiveElement, ctx) {
|
|
3831
|
-
return ctx.ignoreActiveValue && possibleActiveElement === document.activeElement;
|
|
3831
|
+
return ctx.ignoreActiveValue && possibleActiveElement === document.activeElement && possibleActiveElement !== document.body;
|
|
3832
3832
|
}
|
|
3833
3833
|
|
|
3834
3834
|
/**
|
package/dist/turbo.es2017-umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Turbo 8.0.0-rc.
|
|
2
|
+
Turbo 8.0.0-rc.2
|
|
3
3
|
Copyright © 2024 37signals LLC
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -3834,7 +3834,7 @@ Copyright © 2024 37signals LLC
|
|
|
3834
3834
|
* @returns {boolean}
|
|
3835
3835
|
*/
|
|
3836
3836
|
function ignoreValueOfActiveElement(possibleActiveElement, ctx) {
|
|
3837
|
-
return ctx.ignoreActiveValue && possibleActiveElement === document.activeElement;
|
|
3837
|
+
return ctx.ignoreActiveValue && possibleActiveElement === document.activeElement && possibleActiveElement !== document.body;
|
|
3838
3838
|
}
|
|
3839
3839
|
|
|
3840
3840
|
/**
|
package/package.json
CHANGED