react-native-parallax-scrollview icon indicating copy to clipboard operation
react-native-parallax-scrollview copied to clipboard

Color Changing Header

Open Oakyden opened this issue 5 years ago • 3 comments

When i scroll, the header changes color as though it's animated alongside the scroll?

Oddly, this only happens if i use RGBA / Hex codes or rarely used 'wordcolors' like 'deepskyblue' in the navBarColor prop

If i just set it as 'black' or ' blue' etc then it just stays solid (this is the behaviour i'd want and expect given the lack of prop to turn off animated changing colours in the header )

screen shot 2019-03-08 at 09 32 18 screen shot 2019-03-08 at 09 32 28 screen shot 2019-03-08 at 09 32 36 screen shot 2019-03-08 at 09 32 47

Oakyden avatar Mar 08 '19 09:03 Oakyden

I am experiencing the same issue. Works good with "blue". Doesn't work with hex

sunnyphenom avatar Apr 23 '19 06:04 sunnyphenom

Is there any known workaround?

hannojg avatar Apr 29 '20 08:04 hannojg

Not sure why, but when I installed this library this line was missing in the installed module: https://github.com/Monte9/react-native-parallax-scrollview/blob/33c527709c1e850369bf8fc8bcc958373c6982ba/src/ParallaxScrollView.js#L181

hannojg avatar Apr 29 '20 09:04 hannojg