In my React UI, I have set up two text fields for entering values. After saving the values, they are displayed in a table below (designed with antd).
When I click on a record in the table to edit it, I want the data from that record to populate the text fields above and for the app to scroll up, bringing those fields into view for editing.
Currently, after clicking edit, the page remains in the same position without scrolling up to show the text fields ready for editing. You can see the issue in this image.