You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
list.go , i have fixed
no need to adjust offset after mouse click . because at this point, offset should be right. no need adjust
treeview.go
it has more complex state management which need you pay more effort to fix it
root cause
after mouse-leftdown, state changes to no movement.
because state is not moving, treeview::process will change offsetY to make old selection node to be visible.
As a result, tree and offsetY will change back to old place.
when leftclick event, old value is used to get wrong node.
User will find click to wrong node
The text was updated successfully, but these errors were encountered:
wellcomez
changed the title
listbox and tree has wrong behave of click after mouse scroll
listbox and tree has wrong behavior of click after mouse scroll
Oct 25, 2024
wellcomez
changed the title
listbox and tree has wrong behavior of click after mouse scroll
listbox and tree has wrong behavior of click after mouse scroll end
Oct 25, 2024
wellcomez
changed the title
listbox and tree has wrong behavior of click after mouse scroll end
listbox and tree has select wrong item after mouse scroll end
Oct 25, 2024
wellcomez
changed the title
listbox and tree has select wrong item after mouse scroll end
listbox and tree will select wrong node after mouse scroll end
Oct 25, 2024
I'd like to ask you to provide a brief piece of code that reproduces the issue you're facing, along with a meaningful description, instead of a — and I'm sorry to say that — badly documented pull request and issue that simply tells me "what I should do".
I'd like to ask you to provide a brief piece of code that reproduces the issue you're facing, along with a meaningful description, instead of a — and I'm sorry to say that — badly documented pull request and issue that simply tells me "what I should do".
I don't even understand what the problem is.
There are 9 items in view and view height is 3
current Item is 0
scroll view with mouse wheel
after scrollend, click on item 8 in listview
Expect result is current item 8 and 8 be highlighted
Current issue, after click, current item changed but to 0
remove adjust offset on mouse click #1043
list.go , i have fixed
no need to adjust offset after mouse click . because at this point, offset should be right. no need adjust
treeview.go
it has more complex state management which need you pay more effort to fix it
root cause
The text was updated successfully, but these errors were encountered: