2 ms·
Maybe I'm missing something hugely obvious, but shouldn't the input field be rendered using a native control which would preemptively eliminate that bug and red
by oneeyedpigeon 11y ago
Maybe I'm missing something hugely obvious, but shouldn't the input field be rendered using a native control which would preemptively eliminate that bug and reduce the need for rewriting code that's been written countless times before?
- dumbmatter 11y agoThere's probably many reasons, but one is that native controls don't support everything in CSS.
- Manishearth 11y agodumbmatter is correct, we can't arbitrarily style things via CSS with native controls. Eventually we do want them to look more like the controls on the platform they're running on, though.
- pcwalton 11y ago> shouldn't the input field be rendered using a native control which would preemptively eliminate that bug and reduce the need for rewriting code that's been written countless times before? Broadly speaking, native controls don't like being composited into OpenGL scenes (which are necessary for things like 3D transforms).