camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.49k stars 476 forks source link

Popup editor close button partially blocks scrollbar #4106

Open crobbins215 opened 7 months ago

crobbins215 commented 7 months ago

Describe the bug

The FEEL popup editor appears to have an issue with the scroll functionality when scrolling near the close button at the bottom of the popup, the left side of the scroll bar does not respond where it's inline with the close button. However, scrolling works as expected when the scrollbar is picked up from the right side or clicked above the close button. The issue is more evident when the popup contains a large amount of text, and you are scrolled all the way down, causing the scrollbar to be similarly sized as the close button.

Steps to reproduce

  1. Open the provided test diagram containing a single-user task. examplescrollissue.zip
  2. Click on the user task.
  3. Expand the input section and locate "InputVariable_1n1s34e".
  4. Click the icon to open the FEEL popup editor, which has been prefilled.
  5. Scroll to the bottom of the popup.
  6. Attempt to use the mouse to scroll from the left side of the scrollbar which is under the close button; observe that it does not move.
  7. Move to the middle or right side of the scrollbar and attempt to scroll; observe that it functions correctly.

scroll

Expected behavior

The scrollbar in the FEEL popup editor should function correctly regardless of its position relative to the close button, allowing smooth scrolling from any part of the scrollbar.

Environment

Camunda Modeler system information

Additional context

No response

nikku commented 7 months ago

Thanks for opening this issue. I can reproduce it. Moving to backlog for the moment, and attaching spring cleaning to it. A small issue that we can clean up.