Skip to content

Conversation

@willrowe
Copy link
Contributor

This does two things:

  1. Fixes findClosest to include the teleport element (usually a template element) instead of skipping over it to its parent.
  2. Updates x-model.parent to use findClosest to determine the parent. This allows the current logic of traversing upwards through teleports to work correctly as well as automatically working with any future changes to traversal.

@willrowe willrowe changed the title Fix x-model.parent when insided of x-teleport Fix x-model.parent when inside of x-teleport Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant