Skip to content
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

[Bug] Initial image index for SR is not calculated correctly while loading SR after disabling the hydration prompt. #4731

Closed
ashik-trenser opened this issue Jan 24, 2025 · 0 comments · Fixed by #4732
Labels
Awaiting Reproduction Can we reproduce the reported bug?

Comments

@ashik-trenser
Copy link
Contributor

Describe the Bug

After enabling disableConfirmationPrompts flag in the app config, while loading an SR to the viewport the 1st slice is shown instead of the slice in which the first measurement in the SR is drawn.

Steps to Reproduce

  1. Enable the disableConfirmationPrompts in the appConfig.
  2. Try loading a SR.
  3. The hydration confirmation prompt for the SR won't be asked to load the SR
  4. The first slice of the image will be loaded instead of the slice in which the first measurement in the SR is drawn.

The current behavior

while loading an SR after disabling the prompt using disableConfirmationPrompts, the first slice of the image will be loaded instead of the slice in which the first measurement in the SR is drawn.

The expected behavior

The slice in which the first measurement in the SR is drawn should be loaded initially while loading an SR.

OS

Windows 11

Node version

18.9.0

Browser

Chrome 132.0.6834.110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Reproduction Can we reproduce the reported bug?
Projects
None yet
1 participant