Bug 190811

Summary: [iOS] Safari blocked pop-up prompt occluded by popup menu on megamillions.com
Product: WebKit Reporter: Daniel Bates <dbates>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bfulgham, cdumez, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar, PlatformOnly
Version: Safari 12   
Hardware: iPhone / iPad   
OS: iOS 12   
URL: http://megamillions.com
See Also: https://bugs.webkit.org/show_bug.cgi?id=190812
Attachments:
Description Flags
Screen capture
none
[Screen capture] popup menu reopens when Safari is made foreground again none

Description Daniel Bates 2018-10-22 15:38:14 PDT
Created attachment 352917 [details]
Screen capture

Seen on and iPad running iOS 12.0.1 (16A404) with Block Pop-ups disabled in Settings > Safari.

Perform the following:

1. Visit <http://www.megamillions.com>.
2. Tap the popup menu under “Where to play” and pick a state, say California.

Safari prompts to allow the pop-up. However this prompt is partially occluded because the pop-menu is not dismissed. I expected the pop-up menu to be dismissed.
Comment 1 Radar WebKit Bug Importer 2018-10-22 15:39:30 PDT
<rdar://problem/45469013>
Comment 2 Daniel Bates 2018-10-22 15:50:05 PDT
Created attachment 352919 [details]
[Screen capture] popup menu reopens when Safari is made foreground again

Not sure if this is related. I also noticed that if you dismiss the pop-menu after step (2), make a Safari go to the background (say, go to the Home screen) then subsequently make Safari the foreground app (*) then the pop-up menu reopens.

(*) Seems to only happen relatable if you wait 1-2 seconds before opening Safari again.