Unable to disable the vibration with vibrate=false.
For me it looks like it's becuase this guard is always true due to prevProps.vibrate always being true.
Modifying the guard to the following seems to be working as intended:
if (this.props.vibrate && this.props.isOpen && !prevProps.isOpen) {...}
Unable to disable the vibration with
vibrate=false.For me it looks like it's becuase this guard is always
truedue toprevProps.vibratealways beingtrue.Modifying the guard to the following seems to be working as intended:
if (this.props.vibrate && this.props.isOpen && !prevProps.isOpen) {...}