You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Popup has placement with overflow options, it changes className once to overflown, but does'nt switch back if overflownot needed.
E.G. : We have rc-select dropdown menu with 'bottomLeft' placement. If there is no place on screen popup className would be set to topLeft.
In onAlign function you only check if alignClassName !== currentAlignClassName, but I guess, you should also check if this.currentAlignClassName !== currentAlignClassName
If Popup has placement with overflow options, it changes className once to overflown, but does'nt switch back if overflownot needed.
E.G. : We have rc-select dropdown menu with 'bottomLeft' placement. If there is no place on screen popup className would be set to topLeft.
In onAlign function you only check if
alignClassName !== currentAlignClassName
, but I guess, you should also check ifthis.currentAlignClassName !== currentAlignClassName
The text was updated successfully, but these errors were encountered: