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

Style swap container element to visible #88

Merged
merged 1 commit into from
Sep 8, 2020
Merged

Style swap container element to visible #88

merged 1 commit into from
Sep 8, 2020

Conversation

texodus
Copy link
Member

@texodus texodus commented Sep 7, 2020

Styles swap container element using "opacity:0:z-index:-1:pointer-events:none", which (unlike "display:none") allows correct dimension to be calculated during a draw({swap: true}). This is applied inline due to its structural importance - this element should never be visible, even in the absence of an accompanying stylesheet.

@texodus texodus merged commit c11a7bf into master Sep 8, 2020
@texodus texodus deleted the swap-size-fix branch September 8, 2020 01:06
@texodus texodus added the bug Concrete, reproducible bugs label Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant