Comments (13)
I reproduced the same problem, seems the reason is:
class BlurView extends Component {
render() {
return (
<NativeBlurView
{...this.props}
style={{
backgroundColor: 'transparent'
...this.props.style // <<--- this line
}}
/>
);
}
}
When I pass a Stylesheet
object, this.props.style is a number. I fixed it with:
class BlurView extends Component {
render() {
return (
<NativeBlurView
{...this.props}
style={[
{
backgroundColor: 'transparent'
},
...this.props.style
]}
/>
);
}
}
from react-native-blur.
Confirmed same error w. react-native 0.17.0 and Babel 6.
from react-native-blur.
+1
from react-native-blur.
+1
from react-native-blur.
It's probably my bad. I need to make a table with RN version to some-rnf-plugins matching. Latest versions relies on babel 6 and rn 0.16+. Sorry for not informing you about it
from react-native-blur.
Oops, missclick
from react-native-blur.
@Kureev Thanks for looking into it. Just wanted to reiterate that I was able to reproduce the same error with React Native 0.17.0 and Babel 6.
from react-native-blur.
+1, with Babel 5, and react native 15
from react-native-blur.
#40 fix the issue, just not go to npm
@Kureev maybe push to npm after test
from react-native-blur.
@viix Great!
+1
from react-native-blur.
Try 0.7.8
please
from react-native-blur.
Looks like its fixed, TX.
from react-native-blur.
Sorry for the delayed response. Confirmed fixed.
from react-native-blur.
Related Issues (20)
- can use in macos and windows os? HOT 1
- Android build app crashed in version ^4.3.2 HOT 1
- Add support for Clear/Transparent Blur background HOT 8
- BlurRadius prop not working on IOS platform.
- Error using BlurView inside of TouchableWithoutFeedback tag HOT 1
- The build fail on iOS in react-native 0.73.2 with Fabric enabled HOT 2
- On Android devices, returning from another page results in a white screen HOT 2
- Ripple effect on buttons not working when using blurView event in other component
- [Android] Unable to find /../../../node_modules/react-native/android
- how to give border radius
- Exception thrown while executing UI block: -[BlurView setOnClick:]: unrecognized selector sent to instance 0x11898b1c0 HOT 2
- Item has shadow over blurView on Android HOT 3
- screen cover with white color background issue HOT 2
- When using frosted glass stack to jump in Android mode, ReactNavigation will experience lag and frosted glass will reset HOT 2
- Android - RN .73.6 - BlurView overlapping whole screen HOT 2
- Pressable becomes full screen when inside BlurView on Android HOT 1
- gradient effect is blackish in ios but not showing same view in android
- Navigation issue with blurView HOT 8
- i used this to display image in modal not work
- Can't build on Android - cannot find symbol Activity HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-blur.