fahidattique55/FAPanels

Ability to close side panel by swiping sidepanel itself too.

Shamsiddin opened this issue · 2 comments

In current condition of the lib it is impossible to close side panel by swiping it.
In order to close it you should tap, or swipe the grayed area only (look at the pic to see swipeable and not swipeable areas).
From UX point of view it isn't convenient to swipe only this grayed area to close it.
I HIGHLY recommend You to integrate this closing ability of side panel by swiping the entire screen (not only the grayed area)!

Or it would be good if user himself can decide/set the swipeable area type.
Possible values are :

enum SwipeableArea {
    case entireScreen
    case sidePanel
    case grayedArea // outside of side menu
}

simulator screen shot - iphone 6 - 2018-07-29 at 09

@fahidattique55 Is this something that you would accept PRs on? This feature would help us and I'm wondering if I could attempt to implement.

@xparabolax

PRs are always appreciated. Please implement and help the world 👍