Skip to content

when Using <!DOCTYPE html> the height is not calculated correctly #5

Description

@samridhgupta

If i am providing the source Html in the form of

<html id="htmlContent">
        <p>
            <span>{content} </span> 
        </p>
    </html>

the Webview component is able to render the content with correct height.

but if the source Html is

<!DOCTYPE html>
<html id="htmlContent">
        <p>
            <span>{content} </span> 
        </p>
    </html>

the Height is not calulated correctly and while rendered content is clipped in iOS only.

In addition, i m also using Katex to render the content to mathematical symbols.
So if I m not using <!DOCTYPE html> then the rendering fraction lines are not rendered properly on both iOS and Android.

is there any fix for iOS webview which works fines even when the <!DOCTYPE html> is used.

any need on this issue would be grateful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions