• Greg Spencer's avatar
    Only dismiss dropdowns if the orientation changes, not the size. (#42482) · dee75839
    Greg Spencer authored
    This changes the DropDownButton so that instead of dismissing itself when any metrics change occurs, it only dismisses itself when the orientation changes.
    
    This gets around the fact that we can't currently have a dropdown and a text field on the same page because the keyboard disappearing when the dropdown gets focus causes a metrics change, and the dropdown immediately disappears when activated.
    
    It still will cause the keyboard to jump up and down between controls, but that's a larger issue. At least now we can use the two together again.
    dee75839
Name
Last commit
Last update
..
animation Loading commit data...
cupertino Loading commit data...
foundation Loading commit data...
gestures Loading commit data...
material Loading commit data...
painting Loading commit data...
physics Loading commit data...
rendering Loading commit data...
scheduler Loading commit data...
semantics Loading commit data...
services Loading commit data...
widgets Loading commit data...