REFrostedViewController icon indicating copy to clipboard operation
REFrostedViewController copied to clipboard

Disable bounce effect

Open tejas-ardeshna opened this issue 8 years ago • 3 comments

Is there any way to disable bounce effect in swift ?

tejas-ardeshna avatar Sep 30 '15 15:09 tejas-ardeshna

Try with "frostedViewController.limitMenuViewSize = true"

troligtvis avatar Dec 30 '15 14:12 troligtvis

limitMenuViewSize property works to prevent the bouncing.

SpencerLynn avatar Feb 06 '16 08:02 SpencerLynn

func panGestureRecognized(sender: UIPanGestureRecognizer) {

    self.view.endEditing(true)
    self.frostedViewController.view.endEditing(true)
    self.frostedViewController.panGestureRecognized(sender)
    self.frostedViewController.limitMenuViewSize = true }

This will disable the bounce effect in your menu view controller

ankahathara avatar Jul 19 '16 10:07 ankahathara