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
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
I have a drop down containing 8 items. On a tall device like the iPhone 7 Plus, the open menu fits on the display (the menu happens to be in the upper third of the view). On a short device like an iPhone 5, the menu doesn't fit - some of the items are offscreen.
Under some admittedly weird circumstances, if I background my app with the menu open, then foreground it, the ManaDropDownMenu.draw(CGRect) method is called, and when my view finally displayed, the menu is magnified to the extent that the arrow graphic takes up the entire area where the menu once was, with everything to the left of it offscreen.
The weird circumstance is that after backgrounding, I launch Safari and open cnn.com, wait for it to finish loading the page, open nbcnews.com, wait for it to finish loading, background Safari, then tap on my app's icon to foreground it. The ManaDropDownMenu.draw(CGRect) method is called, and when my view finishes drawing, the entire bottom two-thirds of the display is taken up by the arrow icon - seemingly the whole open menu has been magnified by a factor of 8-10.
This doesn't happen if the menu fits on the display. Sometimes it doesn't even happen if I repeat the above test.
Is there a way to tell the menu to display only some of the items, providing the rest via scrolling?
The text was updated successfully, but these errors were encountered:
I have a drop down containing 8 items. On a tall device like the iPhone 7 Plus, the open menu fits on the display (the menu happens to be in the upper third of the view). On a short device like an iPhone 5, the menu doesn't fit - some of the items are offscreen.
Under some admittedly weird circumstances, if I background my app with the menu open, then foreground it, the ManaDropDownMenu.draw(CGRect) method is called, and when my view finally displayed, the menu is magnified to the extent that the arrow graphic takes up the entire area where the menu once was, with everything to the left of it offscreen.
The weird circumstance is that after backgrounding, I launch Safari and open cnn.com, wait for it to finish loading the page, open nbcnews.com, wait for it to finish loading, background Safari, then tap on my app's icon to foreground it. The ManaDropDownMenu.draw(CGRect) method is called, and when my view finishes drawing, the entire bottom two-thirds of the display is taken up by the arrow icon - seemingly the whole open menu has been magnified by a factor of 8-10.
This doesn't happen if the menu fits on the display. Sometimes it doesn't even happen if I repeat the above test.
Is there a way to tell the menu to display only some of the items, providing the rest via scrolling?
The text was updated successfully, but these errors were encountered: