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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bde132-313c0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bde132-313c0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?