UI Form intial scrolling position

NanamiA
Tera Contributor

I created an annotation at the top of the form, and the annotation differs based on the choice of a certain field (this is already done by a client script). After creating this annotation, the scrolling position changed when opening the form, to the first field after the annotation. 
I need to have the scrolling position at the top when opening the form so I found out that changing glide.ui_scroll_to_message_field to false would do the job. Now, it somehow shows half of the annotation instead. 

NanamiA_0-1742176089725.jpeg

(annotation and field details are covered)

In terms of the annotation, there are 3 types of annotations and (let's say) Annotation A is shorter than B or C. After changing glide.ui_scroll_to_message_field to false, the form with Annotation A will have the scroll position at the top and show the entire annotation message but Annotation B and C's forms' scroll bar would be at the middle of the annotation.

 

What I want:

NanamiA_1-1742176138834.jpeg

 

Can anyone tell me why this is happening and how to solve it.
Any help is appreciated!

0 REPLIES 0