Files
ladybird/Libraries/LibWeb/HTML
Luke Wilde bf34b63439 LibWeb: Don't compare the focus chain's GC::Root contents by reference
The focus chain always consists of newly created GC::Root objects, so
the condition always produced `false`. The fix is to use GC::Root's
overloaded operator== method, which compares the pointers of the stored
type.

This fixes Figma dropdowns and context menus instantly disappearing
upon opening them. This is because they become focused when they insert
them. Because of this bug, it would fire blur events all the way up to
and including the window. Figma listens for the blur event on the
window, and when received, it will instantly hide dropdowns and context
menus. The intention behind this seems to be hiding them when the user
clicks off the browser window, or switches tab.
2025-01-30 19:30:44 +01:00
..
2025-01-30 15:00:16 +00:00
2025-01-30 15:00:16 +00:00
2025-01-30 15:00:16 +00:00
2025-01-30 15:00:16 +00:00
2025-01-30 15:00:16 +00:00
2025-01-30 15:00:16 +00:00
2025-01-30 15:00:16 +00:00
2024-11-25 21:13:53 +01:00
2025-01-30 15:00:16 +00:00
2025-01-30 15:00:16 +00:00