Closed rs-mobitech closed 3 years ago
Hello, any update yet? I would really like to use your frames but the white flash appearing for a second in the frames is a problem for me so I cannot use them right now. Thanks
Nope, no news, don't have time for now. But I welcome any PR 👍
It's all in the https://github.com/roubachof/Sharpnado.MaterialFrame/blob/master/MaterialFrame/MaterialFrame.iOS/iOSMaterialFrameRenderer.cs file. I guess the LayoutSubviews
method is called a bit too late...
Thanks, sorry but my skills are not up to yours as far as understanding what is happening.
unfortunately, I cannot make the flash go away (anyway in the HorizontalListView, didn't test it in other list view like CollectionView). It seems to occur when using Sharpnado Tabs + UICollectionView
Ok, found it. By default all changes on CALayers are animated, just had to call RemoveAllAnimations() after setting the Frame:
_intermediateLayer.Frame = new CGRect(0, 2, Element.Width, Element.Height - 2);
_intermediateLayer.RemoveAllAnimations();
Hi, With iOS when frames (for example in Silly App) display for the first time, there is a flash of white that displays in each frame. Any idea on what's causing this?