I am trying to create some animations for an ArcGIS Feature Table where you can hide/show by clicking on a button, and drag the table to increase its size. This appears to be mostly working, except when dragging for the first time the new table size does not lock in until letting go of the left mouse button for the first time. After this initial drag it works as intended. This creates kind of a "janky" feel and I'm looking to smooth out the user experience.
I have a codepen here https://codepen.io/windowslover/pen/azBzONP to illustrate the issue. The JavaScript for the feature table is in the HTML portion of the pen. If anyone can give me a suggestion for how to smooth this out, I would greatly appreciate it! The buttons to show/hide the feature table are at the bottom of the app.