Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/vue
SDK Version
8.18.0
Framework Version
2.6.12
Link to Sentry event
No response
SDK Setup/Reproduction Example
import Vue from 'vue'
import * as Sentry from '@sentry/vue'
Sentry.init({
Vue,
dsn: ...,
release: ...,
replaysSessionSampleRate: 0.01,
replaysOnErrorSampleRate: 1.0,
integrations: [
Sentry.replayIntegration({
maskAllText: false,
blockAllMedia: false,
mask: ['.sentry-mask, [data-sentry-mask]']
}),
Sentry.feedbackIntegration({
// Additional SDK configuration goes in here, for example:
colorScheme: 'system',
})
]
})
It is a basic setup. Only difference here is that I am using Nuxt, in which when Sentry.init
is called, during that time
DOCUMENT.readyState is still equal to 'loading'.
And I have already found that there is a Bug in packages/feedback/src/core/integration.ts
. And bug is that appendToDom method is not called.
Fix will be : (I tested it already and it is working)
Steps to Reproduce
- Add
@sentry/vue
in nuxt (vue) app. - Use it as a plugin in Nuxt.
- Start the app
Expected Result
User Feedback button should be visible in the application regardless of when it is initialized.
Actual Result
User Feedback button is not visible.
Metadata
Metadata
Assignees
Type
Projects
Status
No status