Hacker News new | ask | show | jobs
by 8n4vidtmkvmk 559 days ago
This was never an issue for me in React. The top layer seems unnecessary. Just put your portal or fancy code such that it puts all those popovers at the end. If you order your DOM correctly, you almost never have to touch the z-index.
1 comments

The point is it will be possible without a framework
`document.body.appendChild(newElement);` is pretty easy too.