Skip to content

Not Showing popup dialog on Ios #284

Open
@haykarustamyan

Description

@haykarustamyan

In a loaded WebView on iOS, clicking the date picker component results in the following log message:

Failed to find a presenting view controller for view (<WKCompactContextMenuPresenterButton: 0x1208ba400; baseClass = UIButton; frame =
(262 787.667; 0 0); hidden = YES; opaque = NO; userInteractionEnabled = NO; gestureRecognizers = <NSArray: 0x302fcd320>; layer =
<CALayer: 0x3020422a0>>) in window (<UIWindow: 0x102af8380; frame = (0 0; 390 844); autoresize = W+H; gestureRecognizers =
<NSArray: 0x302088480>; layer = <UIWindowLayer: 0x302ea6a30>>). The interaction's view (or an ancestor) must have an associated view
controller for presentation to work.

As a result, the date picker popup does not appear.

This issue occurs only on iOS. On Android, the date picker functions as expected.

Expected Behavior:
The date picker should display properly when clicked within the WebView on iOS.

Environment:

Platform: iOS
iOS Version: 18.3.1

Steps to Reproduce:

Load the WebView with a page containing a date picker component.
Click the date picker inside the WebView on an iOS device.
Observe the logs and the missing popup.

on Ios:

Image

on Android

Image

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