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

Absolute child of fragment does not position properly with true relative parent #605

Open
tresabhi opened this issue Mar 25, 2024 · 2 comments

Comments

@tresabhi
Copy link

Bug report

Description / Observed Behavior

Giving a child an absolute position (position: 'absolute') and the parent a relative position (position: relative) allows the child to be freely positioned inside the parent using the top, bottom, left, and right CSS properties. This does not work if there is an intermediate fragment in the middle.

Expected Behavior

Working example without fragment middleman

Reproduction

Working example with fragment middleman

@Jackie1210
Copy link
Contributor

@tresabhi You can delete your <> & </> to fix it. I am wonder if we have to handle this case. /CC @shuding

@tresabhi
Copy link
Author

tresabhi commented Oct 4, 2024

You probably should handle this; gut feelings!

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

No branches or pull requests

2 participants