-
Notifications
You must be signed in to change notification settings - Fork 371
Description
Describe the problem
Dropdowns are positioning incorrectly after the first open, this is visible both on org and on console.redhat.com.
It appears to be related to the dropdown being near the right edge of the screen and the popper being passed a right aligned position value.
How do you reproduce the problem?
- go to patternfly.org
- open the version switcher
- see that it is positioned properly
- close it
- open it again
- see that it is positioned a few px to the left
- repeat steps 4-6 to see that it continues to position incorrectly
- refresh the page and repeat from step 2 to see that it is a consistent behavior
Expected behavior
It always positions correctly, not just on the first open.
Screenshots
HCC on first dropdown open:

Second open (and all subsequent opens afterward):

The same thing is happening for the version switcher on org:


What is your environment?
- OS: Mac OS
- Browser: all
- Version: started with at least PF 5.4.2
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done