Design to Code #4: Why I Chose Radix Over Custom Primitives
I spent an entire afternoon trying to write a focus trap from scratch.
The requirement seemed dead simple: when a modal is open, the Tab key should cycle through elements inside it—and nowhere else. When the modal closes, focus should snap back to wh...
7onic.hashnode.dev6 min read