Button in FloatingPanel is not sending event after .full .half resize
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)
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.