Closed ngerdzhikov closed 3 years ago
I found out that this change on line 1277 fixes the visual issue. I don't know if it'll break any other functionality
Result:
@gerdjikov17 Your solution should work as .pannel
and .compact
modes don't require the bounce overflow margin. I would be happy to merge your PR if you would like to submit your change?
Thank you, @gerdjikov17! Your PR has been merged into the main branch!
Describe the bug I noticed a bug that is also reproducable while testing on the Demo app of Pulley. On the top of the drawer content view in panel mode there is a 20 pixel untappable space. If I inspect the view it's actually +20 pixels of height more than the one I return in the partialRevealDrawerHeight for example. This I think happens because of the bounceOverflowMargin variable that is added to the frame height. It's not allowed in panel mode so maybe it's good to check if the view is in panel mode before adding it to the frame.
To Reproduce
Expected behavior DrawerContentView to be the actual height that is return by the delegate.
Screenshots or Recordings
Pulley (please complete the following information):
Xcode (please complete the following information):
iOS Devices (please complete the following information):