What I am trying to do ?
Issue :
overflow-x: visible
and overflow-y: auto
which is not possible as per the specsReferences :
I tried to create my dummy custom menu that reproduces the issue : https://codepen.io/adiltan/pen/BaJJzOb
I have tried using absolute positioning but I could not get it to work
A DOM method getboundingclientrect
will solve this for you.
This method returns selected element's placement so you don't need to nest the tooltip inside your menu.
Make a wrapper that will contain your tooltips as direct child of body
and give them placement you got from getboundingclientrect
.