mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-19 21:04:33 +08:00
fix(landing-page): prevent scroll reset when closing mobile header and tiers modal
This commit is contained in:
parent
158a2f7b11
commit
22f9a5cefa
@ -56,6 +56,7 @@ function RootComponent() {
|
||||
const closeHeader = () => {
|
||||
navigate({
|
||||
search: { isHeaderOpened: undefined },
|
||||
resetScroll: false,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@ -45,6 +45,7 @@ function RouteComponent() {
|
||||
const closeTiersDialog = () => {
|
||||
navigate({
|
||||
search: { isTiersModalOpened: undefined },
|
||||
resetScroll: false,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user