Web Widget doesn't receive events anymore after hi...
# 🤝help
f
I have to completely hide Botpress Web Widget on specific webpages, so I tried to call
window.botpressWebchat.configure({ hideWidget: 'true' })
and then
window.botpressWebchat.configure({ hideWidget: 'false' })
. After those two calls I cannot receive any events anymore
(MESSAGE.RECEIVED and so on)
. Do I have to manually hide widget? I can toggle
bp-widget-hidden
class on iframe or just toggle
display:none
, but this looks to me like workaround.
@famous-bird-23831 problem solved - instead of
configure
I use
mergeConfig
and everything works.
17 Views