Open AishwaryaSurana opened 5 years ago
@AishwaryaSurana Can you try rgba
instead of rgb
? like backdropColor:"rgba(0, 0, 0, 0.9)"
.
I tried rgba
as well. It didn't work.
Same problem with @AishwaryaSurana in Android
Are you using ViewMask
? Changing the overlay color is currently possible only with SvgMask
.
It would be awesome to be able to change the arrow and tooltip background colours. Currently they are hardcoded. As @AishwaryaSurana mentioned, arrow color is hardcoded in components/CopilotModal,js
, and the tooltip background colour is hardcoded in components/style.js
…
I was able to change the backdrop color after installing with command:
npm install --save @okgrow/react-native-copilot@https://github.com/okgrow/react-native-copilot#master
Current Behavior The top arrow color cannot be changed backdrop color also don't work
I tried this for backdrop and it didn't work Input Code
Expected behavior/code There should be some way to customise arrow color and backdrop color, Arrow color is hard-coded here in
CopilotModal.js
:and backdrop color is here:
Environment
react-native-copilot
: v2.4.1react-native
: v0.57react-native-svg
: v7.1.0