I have a single column Listbox, which is populated with data from a text file. This all works ok and there are about 150 rows, of which I can see 15 at a time. A vertical scrollbar appears automatically.
I use a CellClick event attached to the Listbox.
Until recently I could use the mouse to scroll up and down the list, and then select an item not initially visible. This would then be processed - no problems.
Recently, this has changed - I can still scroll up and down the list with the mouse, but if I select an item that is not visible initially, when I click it, the list scrolls back up to the top, and shows the item in the equivalent position to the one I clicked as being selected. So if e.g. I scroll down and then click the item that is 4 rows from the top of what I can now see, I get the item that is 4 rows from the top of the list.
If I use the keyboard down arrow to move down the rows, each row is selected in turn and if I then press Return when the required item is selected, this item is selected correctly, and the list does not scroll back up to the top.
MacOS Mojave and Apple Magic Mouse (no actual scroll wheel, but the surface acts like one).
I recently updated to Xojo 2021.1 - I don’t think the change mentioned happened at the same time as the upgrade, but it may have done. There has been no change to the MacOS or hardware.
Has anyone any idea why this behaviour should have changed, and what to do about it?