Skip to content

Commit

Permalink
Update menu_dropdown_right.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Sep 13, 2024
1 parent f8474e4 commit 666567c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/src/view/menu_dropdown_right.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ class MenuDropdownRightComponent
: {}
}, props.children);

if (props.tooltip == null) {
return menu_dropdown_right;
} else {
return (Dom.span() // had to put outside of DropdownItem to make tooltip show up when disabled
..title = props.tooltip)(menu_dropdown_right);
}
return (Dom.span() // had to put outside of DropdownItem to make tooltip show up when disabled
..title = props.tooltip)(menu_dropdown_right);
}
}

0 comments on commit 666567c

Please sign in to comment.