Eugene Korchagin
Eugene Korchagin
Target is not within document but within the shadow dom, that's why current implementation of click outside handler does not work with shadow dom To fix it u need to...
@kamilogorek Any updates for this? What will be the behaviour if app with `mainHub` will be unmounted?
@yyoyo I can share my solution with you later on Seems like it works so far
> @BeInLife If you have any sort of solution, can you maybe share it? ❤️ Yea, will do later tonight Forgot about it 🙄
``` import * as Sentry from "@sentry/browser"; let oldHub; const client = new Sentry.BrowserClient({ dsn: "%%dsn%%", release: '%%library_version%%', dist: '%%build_number%%', environment: process.env.NODE_ENV, integrations: [...Sentry.defaultIntegrations] }); const hub = new Sentry.Hub(client);...
> @BeInLife Unfortunately using `Sentry.makeMain(hub)` replaces the old hub... this means that only one hub / client can be active on a single page at any given time... Not sure...
@alexkuz pls text me in vk (I've followed you) or tg `@beinlife` so we can discuss it there :)