Discussion: #33
The dropdown always opens downwards, but sometimes, if the editor is at the bottom of the window, better open it upwards instead.
That's really good feedback. I'd love to implement this. Could be handy and really bulletproof functionality. Also, it would be cool to support also other directions. (right - left)
Something like https://popper.js.org/#example3, maybe we should use it. I need to dig more into it.