The user wants to search for a doc in library, then get a shareable link. In a library view there are options to get a link to a document for sharing.
But when the user searches the library (365 / New experience), and gets a "search results" view, there is no UI to get a link.
If they open the doc in Word online there is a share button that does nothing.
The only workaround I have is not to use the search. If they want to share they have to filter or sort to find....
The other workaround is to switch the library view to classic experience. Then the functionality is present.