Replies: 2 comments 1 reply
-
Are you able to recreate it using the example Glitch app? And could you share the full log from Are you using layers? |
Beta Was this translation helpful? Give feedback.
1 reply
-
The upcoming version 2.3 prints a log message when the target cannot be found and a fallback target is used instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings, and first let me express my gratitude for Unpoly, which is just splendid.
I am trying to upgrade a site from 1.0.0 to 2.2.1, and have encountered the following trouble. I have numerous links that have multiple values for the up-target attribute, like this:
<a href="/blog/" up-target="#header, #navbar, #content, .wagtail-userbar-items" up-transition="cross-fade">blog</a>
These links work as expected in 1.0.0 -- that is, they update all the elements listed in
up-target
.In 2.2.1, only the page's
<main>
-- or whichever element I putup-main
on -- gets updated. No errors in my console, and up.log.enable() sheds no light on the situation -- it just confirms thatup-render
is 'Updating "main" in root layer'.Is there something I am missing to prevent 2.2.1 from targetting
<main>
orup-main
and instead honor the values inup-target
?Beta Was this translation helpful? Give feedback.
All reactions