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

iOS+Android - animating BlurView

Open kyle-ssg opened this issue 5 years ago • 1 comments

Allow animations to update blur view.

Summary

In order for the blur view to react to changes via animated props, the effect needed to be set to nil just before the new one is created. Without this change, the blur view would not update.

This also required changes on android, as I required a setNativeProps function to be exposed, it was already exposed on iOS

Test Plan

Clone for an example.

https://github.com/kyle-ssg/reanimated2-experiments

Compatibility

OS Implemented
iOS
Android

Checklist

  • [x] I have tested this on a device and a simulator
  • [ ] I added the documentation in README.md - N/A
  • [ ] I mentioned this change in CHANGELOG.md -There isn't a CHANGELOG.md..
  • [ ] I updated the typed files (TS and Flow) - N/A
  • [ ] I added a sample use of the API in the example project (example/App.js) - N/A

kyle-ssg avatar Aug 16 '20 09:08 kyle-ssg

If this is still valid, please rebase against master, else you can close this PR

Titozzz avatar Jul 21 '22 11:07 Titozzz

This is working as of 4.3.2, I just tested it

Titozzz avatar May 04 '23 09:05 Titozzz