mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Also, remove the CodeMirror object for better clean up process. When a SQL control/tab is rendered in a hidden element, it does not render really well. Because - it rely on the height, and width of the container to count the gutten position, and margin, and other elements. Hence - whenever the tab, panel becomes visible, we will refresh the control.