FloatingPanel icon indicating copy to clipboard operation
FloatingPanel copied to clipboard

Button in FloatingPanel is not sending event after .full .half resize

Open trevor-sonic opened this issue 4 years ago • 1 comments

Description

When I change the panel size from .half to .full and then .full to .half programmatically the button on the panel is not sending any touch event until I resize the panel a little bit with my finger up or down. Then button fires event. Very weird issue.

Expected behavior

The button should send the event as expected.

Actual behavior

The button is not sending event until I resize the panel by hand.

Steps to reproduce

flowPanelVC?.move(to: .full, animated: true) then flowPanelVC?.move(to: .half, animated: true)

Code example that reproduces the issue flowPanelVC?.move(to: .full, animated: true) then flowPanelVC?.move(to: .half, animated: true)

How do you display panel(s)?

  • Add as child view controllers

How many panels do you displays?

  • 1

Environment

iOS 10.x

Library version Latest

Installation method

  • Swift Package Manager (of course)

iOS version(s) 10.x, 14.5

Xcode version Version 12.4 (12D4e)

trevor-sonic avatar May 10 '21 23:05 trevor-sonic

Hmm… I guess the button layout in the panel maybe be broken. I would like you to debug the problem using like view debugging on Xcode and tell me what is changed after moving a panel from .full to .half. Or, a sample code is so helpful to detect this issue.

scenee avatar May 18 '21 09:05 scenee