Hacker News new | ask | show | jobs
by sirn 1843 days ago
https://files.grid.in.th/vKeXJQ.png

It looks close, but details and behavior are a bit off. For example:

- Firefox context menu does not respect system's dark mode

- Different horizontal and vertical margins between items

- Different font rendering (e.g. text looks bolder)

- Different right caret icon

For behavior difference, for example: when navigating sub-menu items, macOS uses cursor velocity and cursor direction to determine if user is trying to go to submenu and immediately dismiss it if user is not. Firefox context menu uses a delay to archive similar effect. (To test this: open a sub-menu in a context menu, then move the cursor up. macOS native menu dismiss immediately, where old Firefox has a small delay before it is dismissed.)

2 comments

And on Big Sur, the old Firefox menus were still using edge-to-edge rectangular selection but the system ones now use rounded-rectangles that appear to detach from the edges.
That tabwrangler extension is great, thanks!