Skip to content

Sentry form breaks after a screenshot attached #14517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
RonenMars opened this issue Nov 28, 2024 · 4 comments · Fixed by #14535
Closed
3 tasks done

Sentry form breaks after a screenshot attached #14517

RonenMars opened this issue Nov 28, 2024 · 4 comments · Fixed by #14535
Assignees
Labels
Feature: User Feedback Package: react Issues related to the Sentry React SDK

Comments

@RonenMars
Copy link

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

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 28, 2024
@github-actions github-actions bot added the Package: react Issues related to the Sentry React SDK label Nov 28, 2024
@chargome
Copy link
Member

Hey @RonenMars thanks for writing in.

@ryan953 could you guys check this one out?

@chriz1984
Copy link

chriz1984 commented Nov 29, 2024

Same problem with the package "@sentry/vue" 8.41.0

@chargome
Copy link
Member

potentially introduced in #14355

Copy link
Contributor

github-actions bot commented Dec 2, 2024

A PR closing this issue has just been released 🚀

This issue was referenced by PR #14535, which was included in the 8.42.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: User Feedback Package: react Issues related to the Sentry React SDK
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants