Skip to content

Commit

Permalink
Turbo v8.0.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
afcapel committed Feb 2, 2024
1 parent 16e026a commit 1728abb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/turbo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
Turbo 8.0.0-rc.1
Turbo 8.0.0-rc.2
Copyright © 2024 37signals LLC
*/
(function(prototype) {
Expand Down Expand Up @@ -3148,7 +3148,7 @@ var Idiomorph = function() {
}
}
function ignoreValueOfActiveElement(possibleActiveElement, ctx) {
return ctx.ignoreActiveValue && possibleActiveElement === document.activeElement;
return ctx.ignoreActiveValue && possibleActiveElement === document.activeElement && possibleActiveElement !== document.body;
}
function morphOldNodeTo(oldNode, newContent, ctx) {
if (ctx.ignoreActive && oldNode === document.activeElement) ; else if (newContent == null) {
Expand Down
8 changes: 4 additions & 4 deletions app/assets/javascripts/turbo.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/assets/javascripts/turbo.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hotwired/turbo-rails",
"version": "8.0.0-rc.1",
"version": "8.0.0-rc.2",
"description": "The speed of a single-page web application without having to write any JavaScript",
"module": "app/javascript/turbo/index.js",
"main": "app/assets/javascripts/turbo.js",
Expand All @@ -13,7 +13,7 @@
"release": "npm publish && git commit -am \"$npm_package_name v$npm_package_version\" && git push"
},
"dependencies": {
"@hotwired/turbo": "^8.0.0-rc.1",
"@hotwired/turbo": "^8.0.0-rc.2",
"@rails/actioncable": "^7.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
chalk "^2.4.2"
js-tokens "^4.0.0"

"@hotwired/turbo@^8.0.0-rc.1":
version "8.0.0-rc.1"
resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-8.0.0-rc.1.tgz#12d69b7b945ab69e69db8547f1f19d7452b22006"
integrity sha512-l1QiKzAMlXAi/71mMds4vfl/PUzeDPdb9xfUxqS8gypsOM/axXkARoFFUO2Q8FadA9H8dXBVIx/kJcXvInrRNA==
"@hotwired/turbo@^8.0.0-rc.2":
version "8.0.0-rc.2"
resolved "https://registry.yarnpkg.com/@hotwired/turbo/-/turbo-8.0.0-rc.2.tgz#8877c10fd84b84d45fc3dae19c7857e799f0d2ca"
integrity sha512-mDmBt7Ay9xBg9bAPjatF4I51/oLhhkLKalJkYvjstZ4acrpbFXl5ZNFtZ5LrUhwqxI4bFpbKv7aVE2+SQpwl/w==

"@jridgewell/gen-mapping@^0.3.0":
version "0.3.3"
Expand Down

0 comments on commit 1728abb

Please sign in to comment.