Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying a DOM element that is already displayed elsewhere #258

Closed
mbostock opened this issue Nov 28, 2023 · 0 comments · Fixed by #262
Closed

Displaying a DOM element that is already displayed elsewhere #258

mbostock opened this issue Nov 28, 2023 · 0 comments · Fixed by #262
Assignees
Labels
bug Something isn’t working
Milestone

Comments

@mbostock
Copy link
Member

E.g., this should re-insert the div, not show HTMLDivElement.

# Test

```js
const div = (function* () {
  const div = htl.html`<div>hello</div>`;
  yield div;
  yield div;
})();
```

```js
display(div);
```
@mbostock mbostock added the bug Something isn’t working label Nov 28, 2023
@mbostock mbostock added this to the Early access milestone Nov 28, 2023
@mbostock mbostock self-assigned this Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant