-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(engine): 💄 Scroll when payment form appears
- Loading branch information
1 parent
4f208a2
commit caa6015
Showing
4 changed files
with
52 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React, { createContext, ReactNode, useContext } from 'react' | ||
|
||
const chatContext = createContext<{ | ||
scroll: () => void | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
//@ts-ignore | ||
}>({}) | ||
|
||
export const ChatContext = ({ | ||
children, | ||
onScroll, | ||
}: { | ||
children: ReactNode | ||
onScroll: () => void | ||
}) => { | ||
const scroll = onScroll | ||
return ( | ||
<chatContext.Provider | ||
value={{ | ||
scroll, | ||
}} | ||
> | ||
{children} | ||
</chatContext.Provider> | ||
) | ||
} | ||
|
||
export const useChat = () => useContext(chatContext) |
caa6015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
landing-page-v2 – ./apps/landing-page
landing-page-v2-git-main-typebot-io.vercel.app
typebot.io
www.typebot.io
www.get-typebot.com
get-typebot.com
landing-page-v2-typebot-io.vercel.app
caa6015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
viewer-v2-alpha – ./apps/viewer
sat.cr8.ai
bt.id8rs.com
vhpage.cr8.ai
am.nigerias.io
aso.nigerias.io
ar.nigerias.io
apr.nigerias.io
apo.nigerias.io
chat.sureb4.com
an.nigerias.io
games.klujo.com
clo.closeer.work
feedback.ofx.one
bot.upfunnel.art
bot.piccinato.co
faqs.nigerias.io
eventhub.com.au
sakuranembro.it
voicehelp.cr8.ai
stan.vselise.com
bot.eventhub.com.au
forms.webisharp.com
app.chatforms.net
typebot.stillio.com
bot.cotemeuplano.com
bot.ottoinvestir.com
zap.techadviser.in
bot.ansuraniphone.my
bot.incusservices.com
chat.hayurihijab.com
bot.meuesocial.com.br
mainmenu.diddancing.com
info.clickasuransi.com
aibot.angrybranding.co.uk
type.opaulovieira.com.br
gcase.barrettamario.it
serviziaziendali.online
c23111azqw.nigerias.io
83242573.actualizar.xyz
hunterbot.saleshunter.ai
boyfriend-breakup.riku.ai
personal-trainer.barrettamario.it
onboarding.libertydreamcare.ie
type.talitasouzamarques.com.br
bookings.littlepartymonkeys.com
piazzatorre.barrettamario.it
studiotecnicoimmobiliaremerelli.it
viewer-v2-alpha-typebot-io.vercel.app
viewer-v2-alpha-git-main-typebot-io.vercel.app
bot.comercializadoraomicron.com
caa6015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
viewer-v2 – ./apps/viewer
bots.bridge.ai
bot.tvbeat.it
talk.gocare.io
yoda.riku.ai
gollum.riku.ai
bot.jesopizz.it
bot.joof.it
bergamo.store
chat.hayuri.id
app.yvon.earth
zap.fundviser.in
chatbot.matthesv.de
bot.rihabilita.it
bot.danyservice.it
bot.contakit.com
fitness.riku.ai
viewer.typebot.io
demo.wemakebots.xyz
bot.dsignagency.com
88584434.therpm.club
92109660.therpm.club
bot.barrettamario.it
bot.eikju.photography
bot.coachayongzul.com
hello.advergreen.com
bot.robertohairlab.it
bot.digitalpointer.id
bot.outstandbrand.com
criar.somaperuzzo.com
bot.ilmuseoaiborghi.it
bot.pratikmandalia.com
form.bridesquadapp.com
88152257.actualizar.xyz
91375310.actualizar.xyz
87656003.actualizar.xyz
michaeljackson.riku.ai
link.venturasuceder.com
invite.bridesquadapp.com
bot.hotelplayarimini.it
arrivalx2.wpwakanda.com
bot.amicidisanfaustino.it
chat.thehomebuyersusa.com
typebot-viewer.vercel.app
forms.hiabhaykulkarni.com
chat.atlasoutfittersk9.com
bot.adventureconsulting.hu
herbalife.barrettamario.it
casestudyemb.wpwakanda.com
liveconvert.kandalearn.com
homepageonly.wpwakanda.com
mainmenu1one.wpwakanda.com
bot.pinpointinteractive.com
tarian.theiofoundation.org
bot.polychromes-project.com
viewer-v2-git-main-typebot-io.vercel.app
bot.studiotecnicoimmobiliaremerelli.it
viewer-v2-typebot-io.vercel.app
liveconvert2.kandalearn.com
forms.escoladeautomacao.com.br
bot.seidibergamoseanchetu.it
bot.seidinembroseanchetu.it
caa6015
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
builder-v2 – ./apps/builder
app.typebot.io
builder-v2-typebot-io.vercel.app
builder-v2-git-main-typebot-io.vercel.app