Skip to content

bug: WKWebView is not resized properly after the native Share modal has been closed #12

@ChristopherTotty

Description

@ChristopherTotty

Bug Report

Plugin(s)

capacitor/share v1.1.0

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 3.4.1
  @capacitor/core: 3.4.1
  @capacitor/android: 3.4.1
  @capacitor/ios: 3.4.1

Installed Dependencies:

  @capacitor/android: not installed
  @capacitor/core: 3.4.1
  @capacitor/cli: 3.4.1
  @capacitor/ios: 3.4.1

[success] iOS looking great! 👌

Platform(s)

iOS, confirmed on hardware iPhone XR and iPhone 12 Pro. iOS Simulator does not replicate.

Current Behavior

Using the Share sheet functionality, then calling for a share to the Messages app causes the app view to resize. After completing or cancelling the share, the app view does not return to its original size/origin.

Expected Behavior

After completing or cancelling the share, the app view should return to its original size/origin.

Code Reproduction

https://github.com/ChristopherTotty/capacitor-share-replication

Other Technical Details

Unsure on replication as the device will sometimes work but then after a power cycle the issue will present again.

Additional Context

See:
ionic-team/capacitor#2979
ionic-team/capacitor#2955

RPReplay_Final1645561625.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions