Skip to content

_initialSource not properly set so navigate to incorrect uri #52

@realMJZ

Description

@realMJZ

Describe the bug

Always navigate to _initialSource but it incorrect on the second time AdapterCreated

To Reproduce

  • Set Source before AdapterCreated
  • Make webview visible
  • Remove the webview from view
  • Set webview Source to another uri
  • Make webview visible

Now the webview navigate to the incorrect uri

Expected behavior

No response

Avalonia WebView version

11.4.0

Avalonia version

11.3.12

OS

Windows

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions