Use scroll left instead of intersection observer (#3522)

This commit is contained in:
Lucas Bordeau
2024-01-24 10:39:04 +01:00
committed by GitHub
parent c7ad6a0de7
commit e54c141484
5 changed files with 37 additions and 18 deletions

View File

@ -0,0 +1,6 @@
import { atom } from 'recoil';
export const scrollLeftState = atom<number>({
key: 'scroll/scrollLeftState',
default: 0,
});