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

When selecting a component in Form definition canvas the content area automatically jumps to the top #1106

Closed
volodymyr-melnykc opened this issue Mar 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@volodymyr-melnykc
Copy link

volodymyr-melnykc commented Mar 25, 2024

Describe the Bug

The content area automatically jumps to the top when selecting a component on the Form definition canvas.
It’s happening when the Form Preview is also open, though it doesn’t when it’s closed.

Steps to Reproduce

  1. Open the form editor.
  2. Add many components on the canvas to make the view scrollable.
  3. Have the Form Preview closed/collapsed.
  4. Select (with the mouse) form components placed in the middle of the canvas.
  5. The component gets selected and the content area doesn't scroll (correct).
  6. Open/expand the Form Preview.
  7. Select (with the mouse) form components placed in the middle of the canvas.
  8. The component gets selected, but the content area automatically scrolls to have the selected component at the top (incorrect).

See the video recording:

issue.with.auto-scrolling.to.the.top_.mov

Expected Behavior

  • When selecting a component the content area shouldn't automatically scroll.

Environment

  • Host (Browser/Node version): Chromium Engine Version 122.0.6261.129
  • OS: MacOS Sonoma
  • Library version: 8.4
@volodymyr-melnykc volodymyr-melnykc added the bug Something isn't working label Mar 25, 2024
@bpmn-io-tasks bpmn-io-tasks bot added the in progress Currently worked on label Mar 26, 2024
Skaiir added a commit that referenced this issue Mar 26, 2024
Skaiir added a commit that referenced this issue Mar 26, 2024
Skaiir added a commit that referenced this issue Mar 26, 2024
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Mar 26, 2024
Skaiir added a commit that referenced this issue Mar 26, 2024
@Skaiir
Copy link
Contributor

Skaiir commented Mar 27, 2024

Fixed via #1108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants