• Adam Barth's avatar
    Material gallery crashes when you press the drop-down button · 4982c553
    Adam Barth authored
    Now use use the route's getPosition function to position the drop-down menu.
    Also, fix a number of other related bugs that blocked the dropdown button from
    working correctly. The dropdown menu still has the following issues:
    
    1) In the exit animation, the background of the menu disappears too quickly
       because of incorrect paint bounds computations in the layer tree.
    2) The drop down menu isn't positioned correctly after the device rotates.
       We'll need to address this issue in a separate patch.
    
    Fixes #630
    4982c553
popup_menu.dart 4.7 KB