Irshath Codes
Irshath Codes
Here's an easy way to achieve this by extending the existing modifier. ```js modifiers={[ e => restrictToParentElement({ ...e, containerNodeRect: parentRef?.current?.getBoundingClientRect() as ClientRect | null, }), ]} ```
For the future people. `menuShouldScrollIntoView` doesn't always work, especially if there is a re-render. To fix this, memoize the `value` and `options` props when adding `menuShouldScrollIntoView`.
This would be amazing, my company is paying for Claude Pro and Cursor. I can switch between Cursor models and Claude Pro when rate limited.