nicklockwood / FXBlurView

[DEPRECATED]
Other
4.94k stars 713 forks source link

convertRect: toLayer: returns rect with incorrect origin #96

Open Igor-Palaguta opened 9 years ago

Igor-Palaguta commented 9 years ago

Hello,

Blur View is added to view. And blur view frame is equal to underlying view bounds. My view is inside collection view, when I scroll it, blurred image is moved.

When I substituted [blurLayer convertRect:blurLayer.bounds toLayer:underlyingLayer] with: [self convertRect: self.bounds toView: self.underlyingView]

everything works fine now.

Very strange why results are different

Can you please assist

gsquad-jfduval commented 9 years ago

I had the same issue and what you suggested fixed my problem too. A fix for this problem should be proposed in a new version ?

zintus commented 9 years ago

Yup, same for me