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
So if you create a menu without any selectable item and then try to move the selection up/down, we end up in the moveSelectionVertically() loop forever.
Launch the example, then press Q to quit it, it works.
Launch the example, then press up or down arrow. Try to press Q to quit, doesn't work.
I think we should allow static only menus, as we can still do stuff with custom controls, but at some point we need to either remember if the menu contains selectable items or check during the loop if we went back to the start without finding anything to select.
The text was updated successfully, but these errors were encountered:
So if you create a menu without any selectable item and then try to move the selection up/down, we end up in the
moveSelectionVertically()
loop forever.Here is a sample to try it:
Launch the example, then press
Q
to quit it, it works.Launch the example, then press up or down arrow. Try to press
Q
to quit, doesn't work.I think we should allow static only menus, as we can still do stuff with custom controls, but at some point we need to either remember if the menu contains selectable items or check during the loop if we went back to the start without finding anything to select.
The text was updated successfully, but these errors were encountered: