Can't run UnrealEditor with SDL_VIDEODRIVER=wayland

So I did compile SDL2 inside the docker container instead by running the RunMe.sh file insilde SDL2/docker folder.
I was to build the editor and run it and didn’t encounter the former issues I had with the previous version (viewport stutters although fps is stable). The issue I have now is with drop down menus, it seems whenever I open a dropdown menu the editor crashes.