AssistoLab / DropDown

A Material Design drop down for iOS
MIT License
2.43k stars 623 forks source link

Not able to see anchorview #293

Open krishnasolankiD opened 3 years ago

krishnasolankiD commented 3 years ago

I have set direction as bottom ::

dropdown.direction = .bottom dropdown.anchorview = .tfxyz

1)when keyboard is visible on screen , I am not able to see dropdown . 2)If i set direction to .any in that case I am not able to see anchor view.

I am using drop down on scrollview . simulator_screenshot_BF4D6D59-FBE9-4CD5-A76D-B04764142A10

Simulator Screen Shot - iPod touch (7th generation) - 2021-06-05 at 17 32 11

mesbah-u commented 2 years ago

By default, the DropDown appears on the top of the anchor view. Set the .bottomOffset and .topOffset of the DropDown properly to avoid this behaviour.