I want to check if my select2 dropdown is open or not. Is there a property or another way that I can use to detect this?
I was wondering if there is a better way than creating a variable, listening to the open and close events, and keeping the status in that variable manually.
It seems none of the answers in this StackOverflow thread is working anymore.