Skip to content

window.tlab.unitySendMessage not work when use GeckoView. #14

@bluesky335

Description

@bluesky335

When I use GeckoView, the JavaScript codewindow.tlab.unitySendMessage doesn't work.
I can't receive the message in the Unity C# component. It only works when using WebView.
However, if I use WebView, the web content is always larger than the WebView and can always be scrolled.

As the screenshot show, The red area is the body, the blue area is the html. they are all 100vh height and 100vw width. You can see the scroll bar is on the right.

Image
Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions