I have never been a fan of crunchy onions, so I fry the onions for a bit longer so that they can disintegrate beautifully into the curry.
I use a lot of oil to ensure that all the onions are covered in the beginning, and remove the excess from the top with a soup ladle after it has rested for a bit.