Context menu for creating files

When you go to the code editor and you go to create a file via the context menu, if you do this at the bottom of the screen, the context menu gets cut off:
image
Context menu should understand where it is and change its position if it’s near the bottom so all options can be seen