Skip to content

Only one target uses a view transition when multiple targets (or a target + sync) have x-merge.transition #130

@SmileyChris

Description

@SmileyChris

For example:

<section id="grid" x-merge.transition>
  <article style="view-transition-1">1</article>
  <article style="view-transition-2">2</article>
</section>
<form id="buttons" x-merge.transition x-target="grid buttons">
  <button name="add-item">Add item</button>
  {% if changed %}<button name="reset">Reset</button>
</form>

Same behaviour with

<form id="buttons" x-merge.transition x-target="grid" x-sync>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions