altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

Wrong scroll position when switching type

Open mlqn opened this issue 11 months ago • 2 comments

Description of the bug

The scroll position should be reset to the top when switching type

Steps To Reproduce

https://github.com/Altinn/altinn-studio/assets/24462611/b4966d00-90ad-428a-ae60-a5b5e7b49bd9

Additional Information

No response

mlqn avatar Mar 05 '24 15:03 mlqn

This issue has two issues:

  • Reset scroll to top when content is too large to fit.
  • Make sure there is no scrollbar when the content does not fill the div.

ghost avatar Apr 17 '24 08:04 ghost

Could we consider including the same scroll behavior fix in the configuration panel for components? When switching component focus, the scroll position doesn't reset to the top automatically.

lassopicasso avatar Apr 18 '24 07:04 lassopicasso

tested ok in dev

JamalAlabdullah avatar Jul 10 '24 09:07 JamalAlabdullah