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

Position relative uses old dimensions after resize #262

Closed
nimble0 opened this issue Dec 15, 2021 · 2 comments
Closed

Position relative uses old dimensions after resize #262

nimble0 opened this issue Dec 15, 2021 · 2 comments
Labels
bug Something isn't working layout Layout engine issues and enhancements

Comments

@nimble0
Copy link

nimble0 commented Dec 15, 2021

Reproducing:

  • Open demo sample
  • Go to sandbox tab
  • Paste this in rml box:
<div />
  • Paste this in rcss box:
div
{
width: 100%;
height: 100%;
background-color: red;
position: relative;
left: 100%;
}
  • It should look like this:
    position-relative-1
  • Make the window full screen. The red box should remain aligned with the right of white boxes, but instead it looks something like this:
    position-relative-2

Resizing the window also exhibits the bug but it's less visible.

@mikke89 mikke89 added the bug Something isn't working label Dec 15, 2021
@mikke89
Copy link
Owner

mikke89 commented Dec 15, 2021

Thanks for the easy reproducible! I'll look into this.

@mikke89
Copy link
Owner

mikke89 commented Dec 18, 2021

A fix has been published, let me know if there are any other related issues.

@mikke89 mikke89 added the layout Layout engine issues and enhancements label Dec 18, 2021
@mikke89 mikke89 closed this as completed Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working layout Layout engine issues and enhancements
Projects
None yet
Development

No branches or pull requests

2 participants