Quantcast
Channel: WordPress.org Forums » [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Support
Viewing all articles
Browse latest Browse all 1440

Customize Select2 DOM placement (dropdownParent property ?)

$
0
0

Replies: 0

Hi !

To access the staging website I provided, you can use the following credentials :
User : rectangle
Pass : rectangle

The problem I have is that the Select2 you’re using for Forminator selects is placed directly as a child of the <body> tag.
But it is a problem when we’re using a Smooth scroll library (in this case, GSAP).

You’ll notice that if you open the dropdown on my link, then scroll, the dropdown doesn’t follow the page…

Is there an option, a filter, or something, to change the placement of the Select2 dropdown in the DOM ?
I know that Select2 have a “dropdownParent” property, that allows to choose the div we want the dropdown to be placed in, but I can’t find a way to change where your plugin places the dropdown…

Thanks for your help !


Viewing all articles
Browse latest Browse all 1440

Trending Articles