The custom dropdown menu pushes all the content down even though the default dropdown menu opens behind the container but does not push the content down. In the image, you can see it pushes the other container down when it’s opened. I want to make it like the default dropdown menu, but it should be in front of the container below. The list is absolute, and the other 2 elements are in relative position. Could you please help?
Don’t forget your read-only link.
Typically with this, the Absolute is what makes the positioning not push down other content. If you set it to Relative, then it will push down the other content. Just make sure that you have another non-Static position above them or they will default to the Body. That can make things awkward.
1 Like