Unable to scroll into elements in appium for iOS

Hi there,

I am trying to scroll into an element on iOS, but the scroll into element code is scrolling all the way to the bottom.

the code i’m using is this
await driver.execute(‘mobile: scroll’, { element: eatenMeal, direction: “down” });

please any help appreciated

Lanaguage JS
Framework: Mocha