Seems this is a known issue: https://github.com/dotnet/roslyn/issues/53120
Neither of the previous suggestions worked for me; deleting the .vs folder, or opening "with Encoding" and cancelling. On the github issue above, jimmylewis mentioned setting the default in the Options. When I created the setting and then later deleted it, the .editorconfig UI came back.