Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Very Strange View Behavior When Implementing 3D Touch Preview

I'm running into a very strange issue with 3D Touch previewing in my app. As you press into a cell to show a preview, a view seems to grow out of the top left corner, until it's about to show the preview view controller, at which point it's the full size of the view controller.

Here's a video of the behavior

I haven't been able to replicate in any apps I've created from scratch; however, creating a new tableview and view controller in the same app it still does it:

Video

I know this isn't a lot to go on, but I've exhausted my debugging knowledge. I'm not getting auto layout errors, when I debug the view hierarchy the view just isn't there. I'm hoping someone has experienced this and knows how to fix it.

Thanks!

like image 574
Kyle Bashour Avatar asked Feb 07 '26 18:02

Kyle Bashour


1 Answers

It took me a while to hunt this bug down. Turns out it's caused (in my case) by https://github.com/icanzilb/EasyAnimation. When I remove the library the bug is gone.

Cheers!

Edit: As it happens it's documented here: https://github.com/icanzilb/EasyAnimation/issues/14

like image 190
Manny Avatar answered Feb 09 '26 09:02

Manny



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!