Skip to content

WebView injectedJavaScript won't run in v2 #1794

@liao02x

Description

@liao02x

Current behavior

I am on @shopify/flash-list 2.0.0-rc.11. When I use a WebView inside an item with injectedJavaScript, the javascript injected doesn't run

Expected behavior

The injectedJavaScript runs as if it's not inside the item.

To Reproduce

It's could be very simple, you can try to change the background color with injectedJavaScript in WebView. You will see that outside of the item it works correctly, and inside the item the injectedJavaScript doesn't work.

Platform:

  • iOS
  • Android

Environment

x.y.z

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Edge case, has workaround, cosmetic, rarebugSomething isn't workingv2.0

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions