Make overflow menu account for transform scale

This commit is contained in:
Eric Fulton 2024-02-16 11:25:33 -08:00 committed by Eric Liu
commit 3aea92f4c6

View file

@ -128,7 +128,8 @@
}
if (open) {
const { width, height } = buttonRef.getBoundingClientRect();
const width = buttonRef.offsetWidth;
const height = buttonRef.offsetHeight;
buttonWidth = width;