Skip to content

Sentry form breaks after a screenshot attached #14517

Closed

Description

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/react

SDK Version

8.41.0

Framework Version

react 18.3.1

Link to Sentry event

https://autokitteh.sentry.io/issues/6096100742/events/18df1b59a4344de7af5ce2fbdaeb7403/?project=4507571819249664&referrer=feedback.details

Reproduction Example/SDK Setup

Sentry.init({
	dsn: "___MY_DSN___",
	integrations: [
		Sentry.reactRouterV6BrowserTracingIntegration({
			useEffect,
			useLocation,
			useNavigationType,
			createRoutesFromChildren,
			matchRoutes,
		}),
		Sentry.feedbackIntegration({
			colorScheme: "system",
		}),
	],
	tracesSampleRate: 1.0,
	tracePropagationTargets: ["localhost"],
});

Steps to Reproduce

  1. Click Report a Bug widget
  2. In the form opened, click Add a screenshot or fill in the details and then click Add a screenshot

Expected Result

The form with a screenshot attached should have the screenshot visible, and we should be able to remove/change it.
After we attach a screenshot, the form should stay on the left, where it is displayed when we click on the widget, but when we attach a screenshot, it jumps to the right.

Actual Result

In the beginning on the left:

Image

Permission dialog:

Image

After we click on the "Add a screenshot" button, it jumps to the right, and the form view breaks:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

Projects

  • Status

    Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions