Fix/relation picker (#546)
* FIx pickers * Fix * Fix lint --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@@ -60,9 +60,10 @@ export function useEntitySelectScroll<
|
||||
] as HTMLElement;
|
||||
|
||||
if (currentHoveredRef) {
|
||||
console.log({ currentHoveredRef, containerRef });
|
||||
scrollIntoView(currentHoveredRef, {
|
||||
align: {
|
||||
top: 0.275,
|
||||
top: 0.15,
|
||||
},
|
||||
isScrollable: (target) => {
|
||||
return target === containerRef.current;
|
||||
|
||||
Reference in New Issue
Block a user