-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
DeferredSetter setting wrong value. #1444
Comments
@grokys I figured out what's going on:
I tried a few different fixes, but the one below is the only one that didn't seem to fail any of the unit tests on my machine. My fix (committed to the
This fix allows the I tried a number of fixes on |
Awesome, thanks Jeremy! I will check that out this evening. Thanks for all the effort working that out, it's not easy is it? |
Yeah it's a bit of a pain haha. Everything related to DeferredSetter (the bugs it fixes, the internal state machine, assumptions it makes about data flow, etc.) is anything but straightforward. I need to write up some solid technical docs on how it works. |
@jkoritzinsky I'm trying to get
MenuItem
keyboard handling working correctly and I think I've run into a problem with theDeferredSetter
code. To see the problem ,check out thefixes/1440-menu-navigation
branch (commit 17ccb98) then:A breakpoint should be signalled and you should see from the call stack that
Menu.IsSelected
is being set totrue
but theDeferredSetter
is setting it asfalse
.Wondered if you had any idea what could be wrong as I'm not so familiar with this code.
The text was updated successfully, but these errors were encountered: