it actually depends on your wallet settings!
i am not sure if Electrum new version added a "spend unconfirmed transactions" or not and i have never checked it otherwise either. but my guess is that it will spend them.
It sure does have that setting... and has had for a while (it was also in the v2.x versions, not sure when first added):
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ftalkimg.com%2Fimages%2F2023%2F11%2F15%2FzOHkP.png&t=663&c=Hr7UqJQMVMq4ZQ)
by default, I believe this setting is switched OFF.
Also if I transfer from a different online wallet (coinspot) to the same receiver address using the highest miner fee, will the receiver still get the second transaction.
You can do what you want from a different wallet... it will have no effect whatsoever on any transaction to the same receiver address from a different wallet.