This 11 page reference describes capital flight on page 10:
https://www.le.ac.uk/economics/teach/ec1001/Lecture%20Notes%20given%20to%20Students/Lecture%20Notes%2013%20Chapter%2032.pdf
The conventional logic for capital flight and demand for loanable funds:
Since net capital outflow is also part of the demand for loanable funds, (during capital flight) the demand for loanable funds rises.
If I understand correctly, according to conventional economic logic, the act of saving means units in the economy spend less income on consumption and this saving increases the supply of loanable funds. This is the primary assumption which is challenged by the so-called heterodox economic logic. The heterodox logic argues that government deficit spending policy and market finance deals provide new funds from "thin air" for investment and consumption activity without anyone having to save funds from prior income sources. In other words spending decisions with finance and government budget policies drive the mix of investment and consumption. If spending for investment and consumption go down then so does future income and saving as the outcome or result of those prior financial planning decisions.
Supposedly the equilibrium demand for loanable funds expressed as the sum of spending for investment and the net capital outflow.
The way I think about this is top down as follows:
National Wealth (W) = Non-financial Assets (K) - Foreign Financial Claims (FFC)
Domestic investment means the increase of Non-financial assets K regardless of the finance source. Capital flight means foreigners are trying to reduce their financial claims held against the domestic non-financial assets. The foreign financial claims are financial assets which are issued as liabilities of governments, banks, or other units in the economy during the processes of international trade and investment. In the modern world international trade is only partly coupled to international investment flow so capital flight can disrupt trade and other features of the domestic economy.
The domestic loanable funds market would be used to finance investment projects which increase K over time as investments become new wealth. But the net domestic financial wealth is zero because for every financial asset there is a matching liability in another economic unit. Therefore the valuation of non-financial assets K is the wealth of the nation less the foreign financial claims against this wealth.
I don't think all the conventional economic logic necessarily holds if one examines how domestic and international trade occurs in the accounting context with government deficit policies. I do not agree that government deficits reduce supply of loanable funds for example. The United States government does not have a net worth comparable to any other unit in the history of the world as far as I am concerned because its role is not to save for retirement nor is it to profit from commercial activities. The United States holds vast tracks of land with mineral wealth which are not given a value under national accounting customs. So the SNA Integrated Macroeconomic Accounts (SNA-IMA) show the United States government with large and growing negative net worth since the 1970s and yet there has been no significant capital flight from US dollars. The factor which stabilizes global trade is US government budget deficit increases to prevent a flight away from US dollars when the dollar based financial markets threaten a systemic crisis.