diff --git a/src/components/observation/FindingsTreePicker.tsx b/src/components/observation/FindingsTreePicker.tsx index afe483be..0f5b256d 100644 --- a/src/components/observation/FindingsTreePicker.tsx +++ b/src/components/observation/FindingsTreePicker.tsx @@ -10,7 +10,7 @@ import { useT } from '@/i18n/useT' import { useLocaleStore } from '@/state/localeStore' const levelVariants = { - enter: (dir: 1 | -1) => ({ opacity: 0, x: dir * 16 }), + enter: (dir: 1 | -1) => ({ opacity: 0, x: dir * 32 }), center: { opacity: 1, x: 0 }, } @@ -195,7 +195,8 @@ export default function FindingsTreePicker({ variants={levelVariants} initial="enter" animate="center" - transition={{ duration: 0.18, ease: 'easeOut' }} + transition={{ duration: 0.22, ease: 'easeOut' }} + style={{ willChange: 'transform, opacity' }} className="space-y-1.5 max-h-64 overflow-auto pr-1" > {currentNodes.length === 0 ? (