Skip to content

Commit

Permalink
fix(dropdown): standard mode now works when being toggled from a diff…
Browse files Browse the repository at this point in the history
…erent width
  • Loading branch information
rikbrowning authored and jmillar-nanthealth committed Apr 8, 2022
1 parent f9fd2cf commit 298cbb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@featherds/menu/src/components/FeatherMenu.vue
Expand Up @@ -103,7 +103,7 @@ export default defineComponent({
}
const containerRect = root.value.getBoundingClientRect();
calculating.value = true;
menuWidth.value = "auto";
nextTick(() => {
let { height, width } = menu.value.getBoundingClientRect();
const windowRect = getScrollRect();
Expand Down

0 comments on commit 298cbb4

Please sign in to comment.