Hello,
I am using a select2 control inside a Modal popup that sometimes are scrollable due to content size more than the screen height,
The dropdown menu of the select2 sometimes shows away from the select2 and sometimes it flickers and never shows, this behavior happens when a part of the popup is hidden due to its size, but when I zoom out so the whole popup is shown and centered to the screen the issue disappears.
I am using the data-dropdown-parent='@ModalPopup' tag but the issue is still occurring.
Thanks in advance.
Hi,
We have been trying to fix this issue but so far we could not find a workaround.
Select2 itself does not work properly when the attached parent is scrollable so the issue lies in the plugin core implementation. We will update you if we have any news on this.
Regards.