W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2010

[whatwg] <input type=number> without keyboard editing

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 5 Nov 2010 02:08:25 +0100
Message-ID: <AANLkTikBpjk96+4+8ZTcP1zrhw3ZkRjJ11JyMFXw_an8@mail.gmail.com>
On Fri, Nov 5, 2010 at 1:55 AM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> Presenting inconsistent state to script (see the value = value example
> above) is not a good idea either, though.

Doing x.value = x.value while the user is typing is *always* annoying
to the user as it'll reset cursor and selection. So sites should
always avoid doing that.

/ Jonas
Received on Thursday, 4 November 2010 18:08:25 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:28 UTC