TWebListControl error when autoselect set to true

Hi,
In attachement project for repro.
WebListBoxAutoSelect.zip (1.4 MB)

Repro steps:

  1. click on Item 0 and hold the mause button
  2. move mouse pointer to Item 3
  3. Release mouse button

You will get an error like this:

Uncaught TypeError: Cannot read properties of null (reading 'GetIndex')
at Object.HandleDoClick (WEBLib.Lists.pas:657:22)
at HTMLDivElement.cb (rtl.js:236:1)

Thanks for reporting.
We traced & solved this issue. v2.1 will address this.