mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.25k stars 2.94k forks source link

Investigate iOS Pop-Up Buttons #22357

Open data-sync-user opened 1 month ago

data-sync-user commented 1 month ago

Investigate the viability / time investment of using a pop-up button behaviour instead of a bottom sheet presentation.

Notes from [~accountid:60482ef1bfef95006bc8a64f] :

https://developer.apple.com/design/human-interface-guidelines/pop-up-buttons https://developer.apple.com/videos/play/wwdc2021/10064/?time=745

┆Issue is synchronized with this Jira Spike

data-sync-user commented 1 month ago

➤ ih-codes commented:

Investigation Results:Unfortunately, I do not think this is a viable solution for us for a number of reasons. 😔

See this video for a quick demo on the behaviour:

{quote}

!UIMenu and UIButton demo.mp4|width=1178,height=2556,alt="UIMenu and UIButton demo.mp4"!{quote}

Additional Investigation:

data-sync-user commented 1 month ago

➤ ih-codes commented:

I will consult with my team on Monday to see if anyone else has any bright ideas regarding this keyboard interaction with the bottom sheet idea.