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

Blur intensity

Open jpolack opened this issue 10 years ago • 6 comments

Hello everyone,

i am using the Module to make text temporary unreadable. While doing so i noticed that the blur effect ist quite heavy.

Is there a property to adjust the bluriness? If not that would be a very nice feature!

Thanks in advance

Jonah

jpolack avatar Aug 25 '16 06:08 jpolack

Hi there,

+1 for this feature

tuxtux00 avatar Sep 17 '16 22:09 tuxtux00

+1

roysG avatar Sep 27 '16 16:09 roysG

As far as I know Apple doesn't provide any ways to adjust blur value. I remember somebody told me that they use opacity for this purpose. Can you check if it can be used to solve your issue?

Kureev avatar Sep 28 '16 07:09 Kureev

BlurView looks strange with opacity, on lower opacity (0.5) we can see horizontal stripes (screenshots taken on simulator)

  • opacity: 0.5 simulator screen shot 30 wrz 2016 15 23 47
  • opacity: 0.95 simulator screen shot 30 wrz 2016 15 22 42

jasiek-net avatar Sep 30 '16 13:09 jasiek-net

I just submitted a PR (#102) that solves this problem. Feel free to check it out!

jakehasler avatar Oct 28 '16 01:10 jakehasler

As far as https://github.com/react-native-community/react-native-blur/pull/102 has been merged and released, I'm going to close this issue.

Kureev avatar Nov 06 '16 18:11 Kureev