Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
8n4vidtmkvmk
1y ago
0 comments
Share
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.
0 comments
default
newest
oldest
plonq
1y ago
The point is it will be possible without a framework
8n4vidtmkvmk
OP
1y ago
`document.body.appendChild(newElement);` is pretty easy too.
j
/
k
navigate · click thread line to collapse