Fence gates themselves can be placed upon grass paths (grass block smoothed with a shovel) without un-paving the grass (turning to a normal dirt block) - however, if you place a fence gate on a grass block, you cannot turn the grass block underneath into a grass path no matter what angle you try from with a shovel.
What I've found is that, when a normal fence post (not a gate) is placed on a grass path block, it will immediately turn the path underneath to dirt. Fence gates will not turn a grass path into a dirt block, so I assume this post-placement paving issue comes from fence gates being conceptually similar to fence posts.
Linked issues
duplicates 1
Attachments
Comments 1

Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-85237, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord