As most of the link settings are used to share files to users who do not have access on the files or for the file to be easily accessible with a shared link, this feature will break the permission inheritance of the file and assigns unique permission on the file and will cause stop library inheriting permissions. So if you select "People with exisiting access can use the link" setting to share link, it won't stop library inheriting permissions.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.