Skip to content

Commit

Permalink
fix(select): render selector menu error (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
renjie-run authored Dec 26, 2024
1 parent e588029 commit b8a8a7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SelectOptionGroup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class SelectOptionGroup extends Component {
}

resetMenuStyle = () => {
if (!this.optionGroupRef) return;
const { isInModal, position } = this.props;
const { top, height } = this.optionGroupRef.getBoundingClientRect();
if (isInModal) {
Expand Down

0 comments on commit b8a8a7c

Please sign in to comment.