3 ms·
It seems history teaches us the exact opposite. Nobody uses the native input elements because they can't be sufficiently styled and customized but simultaneous
by stefan_ 5y ago
It seems history teaches us the exact opposite. Nobody uses the native input elements because they can't be sufficiently styled and customized but simultaneously have significant behavior differences between browsers. They also of course languished for the longest time, at points looking out of place with the browser chrome itself.
- jeroenhd 5y agoAs a user, I curse every time a website decides that my theme is incompatible with my computer's theme and that my scroll bar should in fact be bright red and 1 pixel wide just like on the designer's Macbook, and that buttons should look exactly like tabs, links, checkboxes and radio boxes because that's what the brand designer wanted. Native component's can't be styled because of very good reasons and unless you're developing a game they probably shouldn't be. HN uses purely native components and it's one of the best websites I regularly visit. Fast, responsive, works on every device. I can't help but feel like web developers recreating native components are doing so out of incompetence or complete disregard of usability.
- TimTheTinker 5y agoWhat you're describing is a failure of particular designers and developers to build an acceptable user experience. But that doesn't mean that good front-end designers and developers don't exist, or that good UI/UX doesn't exist outside of native browser controls. I'm a front-end developer, and I currently work with one of the best UI designers in the industry (she's really, incredibly good). We consistently get very positive feedback on our work - currently rebuilding the front-end UI for a unicorn SaaS startup. Good UI controls take a lot of work on small details even beyond the design mocks - event handling, styling, keyboard navigability, layout behavior, configurable options... but when it all comes together it feels great to use.
- 8note 5y agoWhat's the tag for the native button that shows the up votes and downvotes on HN? Is it like <up-button/> or something?
- spiderice 5y ago> Nobody uses the native input elements This is definitely not true. Not even close.
- crazygringo 5y ago> Nobody uses the native input elements What are you talking about? The vast majority of sites use native input elements. The percentages are going to be different, though, depending on whether you're talking about text boxes, dropdowns, or date pickers. (After all, Safari only introduced native support for date pickers this past April, according to MDN's compatibility table [1].) [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date#browser_compatibility https://developer.mozilla.org/en-US/docs/Web/HTML/Element/in...
- somishere 5y agoSafari supports date pickers now?! Wonders will never cease.