diff --git a/.changeset/clean-trains-obey.md b/.changeset/clean-trains-obey.md new file mode 100644 index 00000000000..2ae6d2a4cc9 --- /dev/null +++ b/.changeset/clean-trains-obey.md @@ -0,0 +1,5 @@ +--- +'@stacks/wallet-web': patch +--- + +Fixes bug where it auto-scrolls up diff --git a/src/components/header.tsx b/src/components/header.tsx index a211f83dc5c..c1f3c898422 100644 --- a/src/components/header.tsx +++ b/src/components/header.tsx @@ -45,7 +45,6 @@ export const Header: React.FC = memo(props => { alignItems={hideActions ? 'center' : 'flex-start'} justifyContent="space-between" position="relative" - scrollSnapAlign="start" {...rest} > {!title ? ( diff --git a/src/components/popup/container.tsx b/src/components/popup/container.tsx index 51f6c31e2e5..0823b57f657 100644 --- a/src/components/popup/container.tsx +++ b/src/components/popup/container.tsx @@ -62,7 +62,6 @@ export const PopupContainer: React.FC = ({ children, header, req maxHeight="100vh" position="relative" overflow="auto" - scrollSnapType="y proximity" > {header || null} { if (!messages || !messages.global || !messages.global[0]) return null; return ( - +