Emmet wrap abbreviation behaviour change in JSX #126012
Labels
bug
Issue identified by VS Code Team member as probable bug
emmet
Emmet related issues
emmet-parse
Issue caused by the current Emmet parser
Milestone
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
When writing JSX in a render prop, the emmet wrap abbreviation attempts to wrap the whole parent component instead of the selected line. I'm fairly sure this is a somewhat recent behaviour change as I had not noticed this behaviour happening before.
See screenshots below:
Outcome:
![image](https://user-images.githubusercontent.com/1550219/121651150-e3dd4380-cacc-11eb-9084-3ff2df6b59ca.png)
Expected:
![image](https://user-images.githubusercontent.com/1550219/121651165-e8a1f780-cacc-11eb-86e8-508d594ab5fa.png)
I looked through previous issues that may have impacted this, i'm not sure if it's related to this change:
#116603
The text was updated successfully, but these errors were encountered: