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

Bug: customElement can't setAttrubute width Object #23043

Closed
a707843858 opened this issue Dec 29, 2021 · 4 comments
Closed

Bug: customElement can't setAttrubute width Object #23043

a707843858 opened this issue Dec 29, 2021 · 4 comments
Labels
Component: DOM Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@a707843858
Copy link

I get something wrong with customElement properties and slot ;

React version: experimental

Steps To Reproduce

1.create a customElement width Object properties ;

2.assign an object to a property, customElement property receives as '[object,object]'.

3.customElement use slot , React will render the child of customElement as its own, and slot will be re-rendered within the children element.

Link to code example: https://jsfiddle.net/a707843858/f52s16uh/31/

The current behavior

1.setAttribute passes a value of the same type

2.When React renders customElement. Pass children to it as an attribute and hand him the controller without rendering it's children.

The expected behavior

@a707843858 a707843858 added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Dec 29, 2021
@itolimaesther
Copy link

itolimaesther commented Jul 28, 2023

I would love to work on this issue as a first timer issue if it's still open. @eps1lon

@vinisaveg
Copy link

vinisaveg commented Mar 29, 2024

@a707843858 is it still happening? could you try to explain with a better example? I couldnt precisely understand the jsfiddle demo.

Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@github-actions github-actions bot added the Resolution: Stale Automatically closed due to inactivity label Jun 27, 2024
Copy link

github-actions bot commented Jul 4, 2024

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: DOM Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
5 participants
@eps1lon @itolimaesther @a707843858 @vinisaveg and others