statamic / cms

The core Laravel CMS Composer package
https://statamic.com
Other
3.7k stars 508 forks source link

Bard floating menu popovers snap to top left in Safari #9330

Open jacksleight opened 8 months ago

jacksleight commented 8 months ago

Bug description

When you have the floating menu enabled and open the bard link popover the menu closes and the popover snaps to the top left in Safari (16.4):

https://github.com/statamic/cms/assets/126740/c93d1f68-babf-4c1d-b2e9-8b136bfdcab3

Works fine in Chrome.

How to reproduce

Create a bard field with the floating menu and open the link popup.

Logs

No response

Environment

Statamic
Addons: 0
Antlers: runtime
Stache Watcher: Disabled
Static Caching: Disabled
Version: 4.43.0 Solo

Browser: Safari 16.4

Installation

Fresh statamic/statamic site via CLI

Antlers Parser

None

Additional details

No response

duncanmcclean commented 8 months ago

Doesn't look like this is unique to Safari. I can replicate in Arc (Chrome)... happens as soon as the toolbar goes away.

jacksleight commented 8 months ago

Ah yeah good point.

I think the bit that's unique to Safari is that the toolbar closes as soon as a field inside the popover is focused (which it shouldn't). And since URL is auto-focused that happens as soon as it opens.