When opening the menu and then closing it on my iPhone in Safari, a focus outline unexpectedly appears. This seems unintended, as focus outlines are generally meaningful only for keyboard navigation. Obviously, I need the outline for accessibility, but it shouldn’t be added like this. This issue can even be seen on bricksbuilder.io. Just open the menu, close it, and the focus outline gets added. No focus outline should be visible unless the user is navigating with a keyboard or assistive technology.
Strange. If I use the Pro Offcanvas element from BricksExtras, the issue doesn’t occur. However, when I use the native Offcanvas element from Bricks and place the menu inside, the issue arises.