Skip to content

static html not shown on iOS26 #3

Closed

Description

@smiLLe

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

I render static html content in an expo (54) route, so the screen has a navigation bar. No other Views are added. just

const wrappedHtml = `<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <style>
      body {
        color: ${textColor};
      }
    </style>
  </head>
  <body>
  ${html}
  </body>
  </html>`;

  return (
    <SizedWebView
      scrollEnabled={false}
      source={{ html: wrappedHtml }}
      javaScriptEnabled={false}
    />
  );

nothing appeared for iOS.
As soon as i add a minHeight and a "test" backgroundColor i can see the View is renders for a few frames or so and then vanishes.

I assume this must be related to the native height calculation or the WebView because on Android everything is working as expected.

Library version

latest

Environment info

react:
    installed: 19.1.0

react-native:
    installed: 0.81.5

Steps to reproduce

See summary

Reproducible example repository

.

Activity

  1. mCodex commented on Apr 24, 2026

    @mCodex
    Owner

    @smiLLe , fixed in v1.1.0. Thanks for your time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions