-
Notifications
You must be signed in to change notification settings - Fork 0
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
OakImage has "fullscreen" styles before JS, causing large flash of images #237
Comments
I don't understand why we aren't getting the same issue on OWA . Could it be that we have something set up differently ? |
I think i've found the issue. In your example you've got I removed I reckon that is scooping up all the styles before they reach app router vs pages cause so much confusion. |
@remy you still need the logic in |
Cheers, I'll try that this morning
…On Mon, 22 Jul 2024, 09:54 Carl Whittaker, ***@***.***> wrote:
@remy <https://github.com/remy> you still need the logic in _document but
not the one in _app oaknational/oak-openapi#23
<oaknational/oak-openapi#23>
—
Reply to this email directly, view it on GitHub
<#237 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADLBGIA4KVOLMKAMRRPILZNTCEFAVCNFSM6AAAAABLENTHRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBSGQZTGMRYGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Zip to replicate with reduced case:
component-image-issue.zip
Screenshot of issue in production (on OpenAPI):
Problem stems from these properties, but the wrapping div doesn't have a style prop (
position: relative
) which would fix it (but it is in the class, but this relies on JS to render first):The text was updated successfully, but these errors were encountered: