H4 visa travel while petition is processing

I’m on H4 visa and my current petition is valid until July . I have my appointment scheduled on March 6th and I’m traveling to India . However , the company is applying for H1-B extension. Is there a problem if I travel ? Will my stamping be approved ?

No issue.

Shouldn’t be a problem.

However, I would suggest applying for H1B and H4 extension at the same time and use premium processing for H1B so that both can be approved before you go for H4 stamping. That way, when you enter back, your H4 I-94 is issued to match the newly approved extension.