This issue is complicated by the fact that tab completions need to appear above the cursor at the same time as tooltips appearing below in some circumstances. So the the solution is likely to increase the space below the cursor and scroll into view instead of moving the tooltip.
This issue is complicated by the fact that tab completions need to appear above the cursor at the same time as tooltips appearing below in some circumstances. So the the solution is likely to increase the space below the cursor and scroll into view instead of moving the tooltip.
cf. https://github.com/jupyter/jupyter-js-notebook/issues/170