react-native-blur icon indicating copy to clipboard operation
react-native-blur copied to clipboard

[iOS] Animations

Open wokalski opened this issue 9 years ago • 8 comments

Follow up to the discussion in #62.

Instead of using imperative API we can expose and with animation parameters required. What do you think?

@Kureev I'm not sure what you mean here. Would you like more options in the imperative API or pass somehow the transition to props? (not sure how)

wokalski avatar Sep 23 '16 19:09 wokalski

@Kureev ping

wokalski avatar Oct 10 '16 20:10 wokalski

You can use LayoutAnimation and/or Animated to achieve this effect.

P.S. Sorry for the late response.

Kureev avatar Jan 06 '17 11:01 Kureev

Not really. Native blur animation kind of blurs in/out. It's not a fade transition.

wokalski avatar Jan 11 '17 15:01 wokalski

Does it look different? I've made my conclusion based on the feedback in this issue: https://github.com/react-native-community/react-native-blur/issues/52

Kureev avatar Jan 12 '17 11:01 Kureev

maybe @shahen94 or @aforty can give more insights / provide an example

Kureev avatar Jan 12 '17 11:01 Kureev

Yes, it is different. Think of it as going from blur with radius 0 to x by increasing blur radius vs fading in the blur view. I can provide you with an example if you want.

wokalski avatar Jan 12 '17 11:01 wokalski

Yeah, I got what you mean. It sounds like a nice improvement, but I'm not sure if I have enough time to pick it up. Although, I'll try to do my best reviewing a PR implementing this feature.

I'll re-open it for now

Kureev avatar Jan 12 '17 13:01 Kureev

any sample code?

fukemy avatar May 05 '23 15:05 fukemy