- When we are talking about these things, we have to understand. ..
- If we are talking about these things, we ...
Is it possible to use a Present Continuous in this context after "When" and "If" ?
Is it grammatically correct
Is it possible to use a Present Continuous in this context after "When" and "If" ?
Is it grammatically correct
Yes, it is grammatically possible and indeed common.
The continuous identifies actions that occur throughout a relevant period of time. The first sentence is identifying a relevant period of time very explicitly with “when; it implies that there actually were, are, or very likely will be such times. The second is conditional; it does not imply that such times have actually occurred or even will occur.
As a matter of style, I prefer “while” to “when” in these examples because it further implies that what was just said is not necessarily true at times that are not relevant. But style is neither grammar nor idiom; it is opinion.
EDIT: Having seen Fumble’s initial comment to the OP’s question, I insert this preemptive edit. The slight differences in meaning that I have discussed are unlikely to be intended in everyday speech or careless writing. There, “when,” “if,” and “while” are often used interchangeably without any intention of implying different meanings.
Both "When we are talking about these things, we have to understand..." and "If we are talking about these things, we..." are grammatically correct.