Jim Kring Posted June 3, 2006 Report Share Posted June 3, 2006 Steps to Reproduce: 1) Left-click on an element (see left figure below), continue to hold the mouse button down, drag the cursor to another element (see right figure below), and release the mouse button. Note that the mouse-down event was on element "three" and the mouse-up event was on element "five". 2) Press (and hold down) the <Shift> key and (with the <Shift> key still pressed) left-mouse-click another element of the listbox (see figure below). Observed Result: The range of element between the initial mouse down element ("three" of step #1) and the <Shift>-clicked element ("seven" of step #2) become selected (see figure below). Expected Result: The range of element between the final mouse up element ("five" of step #1) and the <Shift>-clicked element ("seven" of step #2) become selected (see figure below). Final Thoughts: It appears that the shift-click range.start is being defined by the mouse-down location, rather than the selected item. If it has to be associated with the mouse (rather than the selected item) then it should be associated with the mouse-up, rather than the mouse-down location. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.