About how Jq select 2 keeps the select drop-down when opening option

as the title

when writing a front-end page, the select 2 plug-in is used to achieve multiple selections, but the direction of the drop-down is uncontrollable.
looking at the API document on the official website, we know that he can judge whether to expand up or down according to whether there is enough length below.

this is more metaphysical. I feel that I can"t customize it to expand up or down.

Menu