DEV Community

Discussion on: HTML can do that?

Collapse
 
martinhaeusler profile image
Martin Häusler

Nice, I like the lightweight approach. However, there are certain limitations to the HTML-native components. As has already been pointed out, the dropdown doesn't play well with scrolling. If you use a HTML , then you have little control over the look of the dropdown in CSS. It's all about those small things... I believe browsers could do a better job with the native components and their HTML integration. Currently, web devs build the most absurd constructions to achieve things like a dropdown menu, and run into the weirdest corner cases with focus handling, overlay anchoring etc.