-
-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Samples: "SubModelSeq" - weird selection and moveUp/Down behaviors #621
Comments
I know what you mean by the first issue
What do you mean by the second issue
? |
Have you tried to fix this problem? If so, what have you tried?
Have you tried adding a binding? |
@TysonMN Apologies for the delayed response—I only just noticed your reply. What I meant is that, as shown in the video, the initially selected item swaps cyclically ("toggle") with its predecessor when I click the "MoveUp" button two or more times, instead of continuing to move up.
First, I must say the (I find the binding signatures ('Self,Parent") and However, I attempted something similar based on the |
That said, if anyone has clues or insights on how to resolve these two issues in the SubModelSeq sample, I could try to create a simplified version based on it to make it more accessible for beginners. |
(@xperiandri are you experiencing similar issues (unexcepted UI deselection etc.) with the Elmish.UNO "port/version" of that sample?) |
That is the intended behavior. Each time you click the "MoveUp" button, it is a different button. That is, all even clicks are on one button and all odd clicks are on another button.
Yes, that solution is a hack. When I have some free time, I will work on this issue since I think it is the simplest of the problems that you have raised. I do not currently know when I will have any free time. |
Omg sorry I was dumb here haha.. However in my own attempt, I indeed encountered some issues while trying to implement a global
Thank you so much! My intuition suggests that if the unwanted deselection issue is addressed, we may not need the However, I suspect there could be a problem with how F# records interact with WPF, possibly due to hashcode-related issues. Maybe using |
BUG.Sample.ElmishWPF.-.SubModelSeq.mp4
Problematic sample: repo
Issues when pressing ''arrow up/down'' buttons:
Note:
SelecteItem
has no binding associated.The text was updated successfully, but these errors were encountered: