When using the Social Sharing Element inside a Popup using Ajax to fetch content, the shared URL is refereing to the WP-rest api instead of either the post where the popup was, or the post that is being queried inside the popup.
I got something like this:
.../wp-json/bricks/v1/load_popup_content
I tested it for custom post types which are publicly queriable aswell as those that aren’t. the bug remains.
Best regards Suat